Skip to content

Commit

Permalink
working on release not succeeding
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-huganir committed Mar 16, 2024
1 parent b65f875 commit 2682127
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ jobs:
echo "::error::Version $version already exists"
exit 1
fi
echo "version=$version" >> "$GITHUB_ENV"
echo "YUTC_VERSION=$version" >> $GITHUB_ENV
- name: build
id: build
run: |-
binary_name="yutc-linux-amd64"
go build -o "./dist/${binary_name}" ./cmd/yutc
echo "binary_name=$binary_name" >> "$GITHUB_ENV"
echo "BINARY_NAME=$binary_name" >> "$GITHUB_ENV"
- name: release
id: release
env:
GITHUB_TOKEN: ${{ secrets.AUTH_TOKEN }}
run: |-
gh release create --generate-notes "$version" "./dist/$binary_name"
gh release create --generate-notes "${YUTC_VERSION}" "./dist/${BINARY_NAME}"

0 comments on commit 2682127

Please sign in to comment.