-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[patch] merge tag and release workflows
- Loading branch information
Showing
2 changed files
with
9 additions
and
23 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 |
---|---|---|
|
@@ -9,11 +9,11 @@ | |
# You will need to pass the `--batch` flag to `gpg` in your signing step | ||
# in `goreleaser` to indicate this is being used in a non-interactive mode. | ||
# | ||
name: release | ||
name: Release | ||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
branch: | ||
- "main" | ||
jobs: | ||
goreleaser: | ||
runs-on: ubuntu-latest | ||
|
@@ -22,6 +22,12 @@ jobs: | |
uses: actions/[email protected] | ||
- name: Unshallow | ||
run: git fetch --prune --unshallow | ||
- name: install autotag binary | ||
run: | | ||
curl -sL https://git.io/autotag-install | sudo sh -s -- -b /usr/bin | ||
- name: increment version | ||
run: | | ||
autotag --branch main | ||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
|
This file was deleted.
Oops, something went wrong.