-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from consideRatio/pr/release-updates-automation
Add release automation and documentation
- Loading branch information
Showing
2 changed files
with
36 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,23 @@ | ||
# 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/repo2docker-action/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@f411bd910a5ad370d4511517e3eac7ff887c90ea | ||
with: | ||
# By using branches as identifiers it is still possible to backtrack | ||
# some patch, but not if we use tags. | ||
prefer_branch_releases: true | ||
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,13 @@ | ||
# Making a release | ||
|
||
Releases are automated through | ||
[.github/workflows/release-updates.yaml](https://github.com/jupyterhub/repo2docker-action/blob/HEAD/.github/workflows/release-updates.yaml). | ||
|
||
To cut a release, visit the projects [releases | ||
page](https://github.com/jupyterhub/repo2docker-action/releases) where | ||
you create a new GitHub release. Enter a _tag name_ and _release name_ of | ||
"vX.Y.Z". Doing so will automatically update the "vX" branch allowing users to | ||
reference this action with `jupyterhub/repo2docker-action@vX`. | ||
|
||
If you are to cut a major release, make sure to also update references to the | ||
`@vX` branch to the `@vX+1` branch. |