-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 1.1.x releases and update builder
- Loading branch information
1 parent
1e3f462
commit d4e4598
Showing
1 changed file
with
18 additions
and
18 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,6 +9,24 @@ on: | |
required: true | ||
|
||
jobs: | ||
tag: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.sha }} | ||
fetch-depth: '0' | ||
|
||
- name: Print Input | ||
run: echo "${{ inputs.tag }}" | ||
|
||
- name: Bump version and push tag | ||
uses: anothrNick/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }} | ||
WITH_V: true | ||
CUSTOM_TAG: "v${{ inputs.tag }}" | ||
|
||
goreleaser: | ||
needs: tag | ||
runs-on: ubuntu-latest | ||
|
@@ -44,21 +62,3 @@ jobs: | |
args: release --clean | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }} | ||
|
||
tag: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.sha }} | ||
fetch-depth: '0' | ||
|
||
- name: Print Input | ||
run: echo "${{ inputs.tag }}" | ||
|
||
- name: Bump version and push tag | ||
uses: anothrNick/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }} | ||
WITH_V: true | ||
CUSTOM_TAG: "v${{ inputs.tag }}" |