Skip to content

Commit

Permalink
Implement post-release version bump.
Browse files Browse the repository at this point in the history
Signed-off-by: azerr <[email protected]>
  • Loading branch information
angelozerr committed Aug 26, 2024
1 parent be8134d commit bca050c
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release
name: Build & Release VS Code Quarkus

on:
schedule:
Expand Down Expand Up @@ -156,3 +156,21 @@ jobs:
if: ${{ github.event_name == 'schedule' || inputs.publishToOVSX == 'true' || inputs.publishPreRelease == 'true' }}
run: |
ovsx publish -p ${{ secrets.OVSX_MARKETPLACE_TOKEN }} --packagePath vscode-quarkus/vscode-quarkus-*-${GITHUB_RUN_NUMBER}.vsix
post-release-job:
if: ${{ inputs.publishToMarketPlace == 'true' && inputs.publishToOVSX == 'true' }}
runs-on: ubuntu-latest
needs: release-job
steps:
- name: Check Out VS Code Quarkus
uses: actions/checkout@v4
- name: Set Up NodeJS
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Upversion for Development
run: |
tag=`npm version --no-git-tag-version patch`
git config --global user.email "[email protected]"
git config --global user.name "vscode-quarkus-bot"
git commit -am "Upversion to ${tag#v}"
git push origin

0 comments on commit bca050c

Please sign in to comment.