The release workflow targeted mroberts/sush, which does not exist
(`tea releases list --repo mroberts/sush` returns "not found"), so the
release step would fail after building the binaries. Present since the
workflow was added in a7a561f.
Also bump softprops/action-gh-release to v2 in the unused .github
workflow; actionlint rejects v1 as too old to run.
This commit is contained in:
@@ -53,10 +53,10 @@ jobs:
|
|||||||
tea login add --name ci --url https://git.mroberts.dev --token "$GITEA_TOKEN"
|
tea login add --name ci --url https://git.mroberts.dev --token "$GITEA_TOKEN"
|
||||||
# Idempotent: drop any existing release for this tag so re-runs replace
|
# Idempotent: drop any existing release for this tag so re-runs replace
|
||||||
# stale assets instead of failing with "already a release for this tag".
|
# stale assets instead of failing with "already a release for this tag".
|
||||||
tea releases delete -y --login ci --repo mroberts/sush "$TAG" >/dev/null 2>&1 || true
|
tea releases delete -y --login ci --repo mroberts/shush "$TAG" >/dev/null 2>&1 || true
|
||||||
tea releases create \
|
tea releases create \
|
||||||
--login ci \
|
--login ci \
|
||||||
--repo mroberts/sush \
|
--repo mroberts/shush \
|
||||||
--tag "$TAG" \
|
--tag "$TAG" \
|
||||||
--title "$TAG" \
|
--title "$TAG" \
|
||||||
--asset dist/shush-linux-x86_64 \
|
--asset dist/shush-linux-x86_64 \
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ jobs:
|
|||||||
ls -la release-assets/
|
ls -la release-assets/
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
files: release-assets/*
|
files: release-assets/*
|
||||||
fail_on_unmatched_files: true
|
fail_on_unmatched_files: true
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ import (
|
|||||||
"github.com/carlosarraes/shush/internal/types"
|
"github.com/carlosarraes/shush/internal/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
var version = "0.6.1"
|
var version = "0.6.2"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
var cliArgs types.CLI
|
var cliArgs types.CLI
|
||||||
|
|||||||
Reference in New Issue
Block a user