Skip to content

Commit bca050c

Browse files
committed
Implement post-release version bump.
Signed-off-by: azerr <[email protected]>
1 parent be8134d commit bca050c

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/release.yml

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: release
1+
name: Build & Release VS Code Quarkus
22

33
on:
44
schedule:
@@ -156,3 +156,21 @@ jobs:
156156
if: ${{ github.event_name == 'schedule' || inputs.publishToOVSX == 'true' || inputs.publishPreRelease == 'true' }}
157157
run: |
158158
ovsx publish -p ${{ secrets.OVSX_MARKETPLACE_TOKEN }} --packagePath vscode-quarkus/vscode-quarkus-*-${GITHUB_RUN_NUMBER}.vsix
159+
post-release-job:
160+
if: ${{ inputs.publishToMarketPlace == 'true' && inputs.publishToOVSX == 'true' }}
161+
runs-on: ubuntu-latest
162+
needs: release-job
163+
steps:
164+
- name: Check Out VS Code Quarkus
165+
uses: actions/checkout@v4
166+
- name: Set Up NodeJS
167+
uses: actions/setup-node@v4
168+
with:
169+
node-version: '18'
170+
- name: Upversion for Development
171+
run: |
172+
tag=`npm version --no-git-tag-version patch`
173+
git config --global user.email "[email protected]"
174+
git config --global user.name "vscode-quarkus-bot"
175+
git commit -am "Upversion to ${tag#v}"
176+
git push origin

0 commit comments

Comments
 (0)