Skip to content

Commit

Permalink
chore(ci): fix typo
Browse files Browse the repository at this point in the history
fix typo

Signed-off-by: ysicing <i@ysicing.me>
  • Loading branch information
ysicing committed May 29, 2023
1 parent 6367999 commit af8764b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ jobs:
- name: "download checksums.txt"
uses: actions/download-artifact@v3
with: { name: checksums.txt, path: dist }
- run: ./hack/scripts/gentap.sh
- name: fetch current version
id: get-current-tag
uses: actions-ecosystem/action-get-latest-tag@v1.6.0
- run: ./hack/scripts/gentap.sh ${{steps.get-current-tag.outputs.tag }}
- name: Build docs
run: |
task godoc
Expand All @@ -88,9 +91,6 @@ jobs:
- run: git fetch --prune --prune-tags
- run: git tag -l 'v*'
- run: ./hack/scripts/changelog.sh > CHANGELOG.md
- name: fetch current version
id: get-current-tag
uses: actions-ecosystem/action-get-latest-tag@v1.6.0
- uses: peter-evans/create-pull-request@v5
with:
title: 'docs: updated CHANGELOG.md & docs for ${{steps.get-current-tag.outputs.tag }}'
Expand Down
2 changes: 1 addition & 1 deletion hack/scripts/gentap.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

version=$(cat VERSION)
version=${1:-$(cat VERSION)}
# shellcheck disable=SC2002
macosAMD64sha=$(cat dist/checksums.txt | grep tiga_darwin_amd64 | awk '{print $1}')
# shellcheck disable=SC2002
Expand Down

0 comments on commit af8764b

Please sign in to comment.