generated from jacobtomlinson/go-container-action
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add release automation and instructions (#12)
- Loading branch information
1 parent
1941cf0
commit 9a729e9
Showing
2 changed files
with
34 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Automatically updates "vX" branches based on GitHub releases. To cut a new | ||
# release, use the GitHub UI where you enter a tag name and release name of | ||
# "vX.Y.Z". See https://github.com/jupyterhub/action-k3s-helm/releases. | ||
name: Release updates | ||
|
||
on: | ||
release: | ||
types: [published, edited] | ||
|
||
jobs: | ||
actions-tagger: | ||
runs-on: windows-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
# Action reference: https://github.com/Actions-R-Us/actions-tagger | ||
- uses: Actions-R-Us/actions-tagger@v2 | ||
with: | ||
token: "${{ github.token }}" |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# How to make a release | ||
|
||
This action is published to the [GitHub Actions Marketplace](https://github.com/marketplace/actions/get-anaconda-package-version). | ||
|
||
To make a release you need push rights to the [jacobtomlinson/gha-anaconda-package-version GitHub repository](https://github.com/jacobtomlinson/gha-anaconda-package-version). | ||
|
||
## Steps to make a release | ||
|
||
1. Create a new _GitHub release_ by clicking on `Draft a new release` at | ||
https://github.com/jacobtomlinson/gha-anaconda-package-version/releases and | ||
creating a new tag for `master`. Remember to prefix the tag with `v`, e.g. | ||
`v1.0.5` | ||
|
||
1. Check everything again, then click `Publish release`. | ||
This will create a tag, and trigger a CI action to update tags like `v1`. |