Skip to content

Commit

Permalink
Merge pull request #78 from blockchain-certificates/chore/fix-ci-sema…
Browse files Browse the repository at this point in the history
…ntic-release

chore(CI): change twine upload prompt place to access env var
  • Loading branch information
lemoustachiste authored Oct 22, 2024
2 parents 670f866 + e8b03cf commit 0e7691b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ version_variables = [
"cert_schema/__version__.py:__version__",
'npm/package.json:"version"'
]
build_command = ". release_package.sh"
upload_to_pypi = true

[tool.semantic_release.branches.main]
match = "(main|master)"
Expand Down
2 changes: 0 additions & 2 deletions release_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
rm -rf dist
python3 setup.py sdist bdist_wheel
keyring --disable
echo $TWINE_USERNAME
echo $TWINE_PASSWORD
twine upload dist/* -u $TWINE_USERNAME -p $TWINE_PASSWORD --verbose
1 change: 1 addition & 0 deletions semantic-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ git config user.name botcerts
git config user.email [email protected]
git checkout master
semantic-release version
source ./release_package.sh

0 comments on commit 0e7691b

Please sign in to comment.