File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -3,17 +3,8 @@ concurrency: build
33permissions : read-all
44
55on :
6-
7- workflow_dispatch :
8- inputs :
9- reference :
10- description : Branch, tag, or hash of commit to build.
11- required : false
12- default : main
13- type : string
14-
15- push :
16- tags : ['v*'] # Build and publish image on release.
6+ release :
7+ types : [published]
178
189env :
1910 REGISTRY : ghcr.io
5849 push : true
5950 tags : ${{ steps.meta.outputs.tags }}
6051 labels : ${{ steps.meta.outputs.labels }}
52+
53+ major-version-tagging :
54+ runs-on : ubuntu-latest
55+ steps :
56+ - name : Update version tags
57+ uses : zyactions/update-semver@v1
58+ with :
59+ ignore-prerelease : false
Original file line number Diff line number Diff line change @@ -35,8 +35,9 @@ for this purpose.
3535
3636When updating the version, these files should be updated accordingly:
3737
38- * [ ` CHANGELOG.md ` ] ( ../docs/ CHANGELOG.md)
38+ * [ ` CHANGELOG.md ` ] ( CHANGELOG.md )
3939* [ ` package.yaml ` ] ( ../package.yaml )
40+ * [ ` action.yaml ` ] ( ../action.yaml )
4041
4142Once that is done, a new [ release] should be done with the new version number.
4243
You can’t perform that action at this time.
0 commit comments