-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Fix workflow to use semantic-release v8 command
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,7 +62,7 @@ jobs: | |
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Andrew Wilkinson" | ||
export VERSION=$(semantic-release print-version) | ||
export VERSION=$(semantic-release --noop version --print) | ||
if [ ! -z "$VERSION" ]; then | ||
GH_TOKEN=${{ secrets.GITHUB_TOKEN }} REPOSITORY_USERNAME=__token__ REPOSITORY_PASSWORD="${{ secrets.PYPI_TOKEN }}" semantic-release publish | ||
fi | ||
|