File tree Expand file tree Collapse file tree 5 files changed +22
-3
lines changed
Expand file tree Collapse file tree 5 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,17 @@ jobs:
3939 username : ${{ github.actor }}
4040 password : ${{ secrets.GITHUB_TOKEN }}
4141
42- - name : Extract metadata (tags, labels) for Docker
42+ - name : Extract metadata
4343 id : meta
4444 uses : docker/metadata-action@v4
4545 with :
4646 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
47+ tags : |
48+ type=semver,pattern=v{{version}}
49+ type=semver,pattern=v{{major}}.{{minor}}
50+ type=semver,pattern=v{{major}}
51+ type=ref,event=branch
52+ type=ref,event=pr
4753
4854 - name : Build and push Docker image
4955 uses : docker/build-push-action@v4
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ outputs:
3838
3939runs :
4040 using : docker
41- image : Dockerfile
41+ image : docker://ghcr.io/haskell-actions/hlint-scan:main
4242 args :
4343 - binary=${{ inputs.binary }}
4444 - path=${{ inputs.path }}
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ the [Haskell Package Versioning Policy].
1010
1111## Unreleased
1212
13+ ## 0.3.0 - ????-??-??
14+
1315## 0.2.0.0 - 2023-04-06
1416
1517* Rewrite using a Docker container action using Haskell.
Original file line number Diff line number Diff line change @@ -30,3 +30,14 @@ Guidelines](https://opensource.google/conduct/).
3030All submissions, including submissions by project members, require review. We
3131use [ GitHub pull requests] ( https://docs.github.com/articles/about-pull-requests )
3232for this purpose.
33+
34+ ### Updating versions
35+
36+ When updating the version, these files should be updated accordingly:
37+
38+ * [ ` CHANGELOG.md ` ] ( ../docs/CHANGELOG.md )
39+ * [ ` package.yaml ` ] ( ../package.yaml )
40+
41+ Once that is done, a new [ release] should be done with the new version number.
42+
43+ [ release ] : https://github.com/haskell-actions/hlint-scan/releases
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515name : hlint-scan
16- version : 0.0.0 .0
16+ version : 0.3 .0
1717github : " haskell-actions/hlint-scan"
1818license : Apache-2.0
1919author : " Yoo Chung"
You can’t perform that action at this time.
0 commit comments