Skip to content

Commit

Permalink
Pre-release for alpha and beta.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibancioiu committed Jan 17, 2023
1 parent 1e09eef commit 9823086
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/erdpy-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
RELEASE_TAG=v$(python3 -c "import multiversx_sdk_cli._version; print(multiversx_sdk_cli._version.__version__);")
gh release create $RELEASE_TAG --target=$GITHUB_SHA --title="$RELEASE_TAG" --generate-notes
if [[ "$RELEASE_TAG" == *"a"* || "$RELEASE_TAG" == *"b"* ]]; then
gh release create $RELEASE_TAG --target=$GITHUB_SHA --title="$RELEASE_TAG" --generate-notes
else
gh release create $RELEASE_TAG --target=$GITHUB_SHA --title="$RELEASE_TAG" --generate-notes --prerelease
fi
- name: Build and publish
env:
Expand Down

0 comments on commit 9823086

Please sign in to comment.