Skip to content

Commit ccc7a54

Browse files
Merge pull request quarkiverse#18 from holly-cummins/improve-releases
Use a freshly-generated tag for the release
2 parents 1495a1c + 2a667da commit ccc7a54

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ jobs:
4949
path: ./public
5050
retention-days: 3
5151

52+
- name: Bump version and push tag
53+
uses: anothrNick/[email protected] # Don't use @master or @v1 unless you're happy to test the latest version
54+
# Only try and deploy on merged code
55+
if: "github.repository == 'quarkiverse/antora-ui-quarkiverse' && github.ref_name == 'main' && (github.event_name == 'push' || github.event_name == 'schedule')"
56+
env:
57+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # if you don't want to set write permissions use a PAT token
58+
WITH_V: true
59+
5260
- name: Publish bundle
5361
uses: ncipollo/release-action@v1
5462
# Only try and deploy on merged code
@@ -57,8 +65,7 @@ jobs:
5765
artifacts: "./build/ui-bundle.zip"
5866
omitBody: true
5967
allowUpdates: true
60-
generateReleaseNotes: true
68+
generateReleaseNotes: false
6169
makeLatest: true
62-
tag: "latest"
6370
name: "HEAD"
6471
replacesArtifacts: true

0 commit comments

Comments
 (0)