Skip to content

Commit 9df133d

Browse files
fix workflow not creating a tag
1 parent e496b13 commit 9df133d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ jobs:
3737
id: vars
3838
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
3939

40+
- name: Create and push tag
41+
run: |
42+
git config user.name "${{ github.actor }}"
43+
git config user.email "${{ github.actor }}@users.noreply.github.com"
44+
git tag release-${{ steps.vars.outputs.sha_short }}
45+
git push origin release-${{ steps.vars.outputs.sha_short }}
46+
4047
- name: Create GitHub Release
4148
uses: softprops/action-gh-release@v1
4249
with:

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ buildNumber.properties
1616
# JDT-specific (Eclipse Java Development Tools)
1717
.classpath
1818
.idea/
19-
scripts/*.jar
19+
scripts/*.jar
20+
*.iml

0 commit comments

Comments
 (0)