Skip to content

Commit

Permalink
fix variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ebmifa committed Jan 24, 2024
1 parent e6b4bbd commit 47e0a6a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,22 +165,22 @@ jobs:
working-directory: chocolatey
shell: bash
run: |
echo "sui_version=$(echo ${{ env.sui_tag }} | sed s/'mainnet-v'//)" >> $GITHUB_ENV
export sui_version=$(echo ${{ env.sui_tag }} | sed s/'mainnet-v'//)
choco install checksum
echo "sui_sha=$(checksum -t sha256 ./target/release/sui.exe)" >> $GITHUB_ENV
export sui_sha=$(checksum -t sha256 ./target/release/sui.exe)
cat <<EOF >>VERIFICATION.txt
Sui Binary verification steps
1. Go to https://github.com/MystenLabs/sui/releases/download/${{ env.sui_tag }}/sui-${{ env.sui_tag }}-windows-x86_64.tgz
2. Extract sui-windows-x86_64.exe
3. checksum.exe -t sha256 sui-windows-x86_64.exe: ${{ env.sui_sha }}
3. checksum.exe -t sha256 sui-windows-x86_64.exe: ${sui_sha}
File 'LICENSE.txt' is obtained from: https://github.com/MystenLabs/sui/blob/main/LICENSE
EOF
choco pack --version ${{ env.sui_version }} configuration=release
choco pack --version ${sui_version} configuration=release
choco apikey --api-key ${{ secrets.CHOCO_API_KEY }} --source https://push.chocolatey.org/
choco push sui.${{ env.sui_version }}.nupkg --source https://push.chocolatey.org/
choco push sui.${sui_version}.nupkg --source https://push.chocolatey.org/
# - name: Upload release artifacts for ${{ matrix.os }} platform
# uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 47e0a6a

Please sign in to comment.