mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-07-28 09:48:14 -07:00
run the release when the tag is pushed
This commit is contained in:
committed by
Will Greenberg
parent
0a1dce3215
commit
2df331a0bc
@@ -1,8 +1,9 @@
|
|||||||
# To use: navigate on Github to Actions, select "Release rayhunter" on the left, click "Run workflow" > "Run workflow" on the right.
|
# To learn how to use this workflow, please read CONTRIBUTING.md.
|
||||||
# https://github.com/EFForg/rayhunter/actions/workflows/release.yml
|
|
||||||
name: Release rayhunter
|
name: Release rayhunter
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
push:
|
||||||
|
tags:
|
||||||
|
- "v[0-9]+.[0-9]+.[0-9]+"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
|||||||
+3
-4
@@ -78,8 +78,7 @@ This one is for maintainers of Rayhunter.
|
|||||||
This could be automated better but right now it's manual. You can do this easily with sed:
|
This could be automated better but right now it's manual. You can do this easily with sed:
|
||||||
`sed -i "" -E 's/x.x.x/y.y.y/g' */Cargo.toml installer-gui/src-tauri/Cargo.toml`
|
`sed -i "" -E 's/x.x.x/y.y.y/g' */Cargo.toml installer-gui/src-tauri/Cargo.toml`
|
||||||
|
|
||||||
2. Merge PR and make a tag.
|
2. Merge the PR, make a tag, and push the tag to GitHub. Pushing the tag should
|
||||||
|
trigger the [release workflow](https://github.com/EFForg/rayhunter/actions/workflows/release.yml).
|
||||||
|
|
||||||
3. [Run release workflow.](https://github.com/EFForg/rayhunter/actions/workflows/release.yml)
|
3. Write changelog, edit it into the release, announce on mattermost.
|
||||||
|
|
||||||
4. Write changelog, edit it into the release, announce on mattermost.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user