Skip to content

Commit

Permalink
ci(release): remove unused MAINNET env (#1737)
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <[email protected]>
  • Loading branch information
troian authored Jan 14, 2023
1 parent 64697d3 commit ebbac57
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ jobs:
uses: docker/setup-buildx-action@v2
- name: release version
run: echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: detect network from release
run: echo "MAINNET=$(./script/mainnet-from-tag.sh ${{ env.RELEASE_TAG }} && echo 'true' && echo 'false')" >> $GITHUB_ENV
- run: echo "Building for MAINNET=${{ env.MAINNET }}"
- if: (github.ref == 'refs/heads/master') || (github.ref == 'refs/heads/mainnet/main')
name: release dry-run GORELEASER_SKIP_VALIDATE=true
run: make release-dry-run GORELEASER_SKIP_VALIDATE=true
Expand Down

0 comments on commit ebbac57

Please sign in to comment.