Remove post-release step
This commit is contained in:
parent
8c5b2cdea3
commit
d285916451
2 changed files with 13 additions and 31 deletions
13
.github/workflows/goreleaser.yml
vendored
13
.github/workflows/goreleaser.yml
vendored
|
|
@ -19,6 +19,19 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_PAT_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GH_PAT_TOKEN }}
|
||||||
WITH_V: true
|
WITH_V: true
|
||||||
DEFAULT_BUMP: patch
|
DEFAULT_BUMP: patch
|
||||||
|
- name: Update default.nix
|
||||||
|
uses: MathieuSoysal/file-updater-for-release@v1.0.3
|
||||||
|
with:
|
||||||
|
files: default.nix # List of files to update
|
||||||
|
prefix: "version = \"" # Prefix before the version, default is: ""
|
||||||
|
with-checkout: false # If you don't want to checkout the repo, default is: true
|
||||||
|
- name: Push changes
|
||||||
|
uses: EndBug/add-and-commit@v9
|
||||||
|
with:
|
||||||
|
committer_name: GitHub Actions
|
||||||
|
committer_email: actions@github.com
|
||||||
|
add: default.nix
|
||||||
|
message: 'Update default.nix with latest version number'
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
31
.github/workflows/post-release.yml
vendored
31
.github/workflows/post-release.yml
vendored
|
|
@ -1,31 +0,0 @@
|
||||||
name: Update default.nix with latest version
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [published]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
publish:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
token: ${{ secrets.GH_PAT_TOKEN }} # Needs write access to the repo
|
|
||||||
ref: master
|
|
||||||
- name: Update default.nix
|
|
||||||
uses: MathieuSoysal/file-updater-for-release@v1.0.3
|
|
||||||
with:
|
|
||||||
files: default.nix # List of files to update
|
|
||||||
prefix: "version = \"" # Prefix before the version, default is: ""
|
|
||||||
with-checkout: false # If you don't want to checkout the repo, default is: true
|
|
||||||
|
|
||||||
- name: Push changes
|
|
||||||
uses: EndBug/add-and-commit@v9
|
|
||||||
with:
|
|
||||||
committer_name: GitHub Actions
|
|
||||||
committer_email: actions@github.com
|
|
||||||
add: default.nix
|
|
||||||
message: 'Update default.nix with latest version number'
|
|
||||||
|
|
||||||
Loading…
Reference in a new issue