-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement post-release version bump.
Signed-off-by: azerr <[email protected]>
- Loading branch information
1 parent
be8134d
commit bca050c
Showing
1 changed file
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: release | ||
name: Build & Release VS Code Quarkus | ||
|
||
on: | ||
schedule: | ||
|
@@ -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 |