File tree Expand file tree Collapse file tree 2 files changed +18
-23
lines changed
Expand file tree Collapse file tree 2 files changed +18
-23
lines changed Original file line number Diff line number Diff line change 44concurrency :
55 group : ${{ github.workflow }}-${{ github.ref }}
66 cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
7+ permissions :
8+ contents : write
79jobs :
810 build :
911 runs-on : ubuntu-latest
6567 run : gradle createRelease -Prelease.versionIncrementer=${{ env.versionIncrementer }}
6668
6769 # Set Project Version
68- - name : Set Frontend Version
70+ - name : Set Project Version
6971 run : npm version from-git --no-git-tag-version
7072
7173 # Build Project
8082 if : |
8183 github.ref == 'refs/heads/main' &&
8284 github.repository == 'isontheline/vscode-sysmon'
83- run : gradle pushRelease
85+ run : gradle pushRelease
86+
87+ # Create Release
88+ - name : Create release
89+ if : |
90+ github.ref == 'refs/heads/main' &&
91+ github.repository == 'isontheline/vscode-sysmon'
92+ env :
93+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
94+ run : |
95+ tag=$(git describe --tags --abbrev=0)
96+ gh release create "$tag" \
97+ --repo="$GITHUB_REPOSITORY" \
98+ --title="${tag#v}" \
99+ --generate-notes
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments