Skip to content

Commit

Permalink
Merge pull request #86 from Jsoconno/more-api-version-get-updates
Browse files Browse the repository at this point in the history
updated yaml file to only publish to pypi upon official release, not …
  • Loading branch information
jsoconno authored Jan 25, 2021
2 parents 65f3c8c + 8d7b926 commit eed2952
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Upload Python Package

on:
release:
types: [created]
types: [released]

jobs:
deploy:
Expand Down
4 changes: 2 additions & 2 deletions scripts/get_latest_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ def get_release_data(user, repo, field=None, regex_pattern=None, group_number=0)

return output

version = get_release_data(user="jsoconno", repo="architectures", field="tag_name", regex_pattern="[0-9]*\.[0-9]*\.[0-9]*")
print(version)
data = get_release_data(user="jsoconno", repo="architectures")#, field="tag_name", regex_pattern="[0-9]*\.[0-9]*\.[0-9]*")
print(data)

0 comments on commit eed2952

Please sign in to comment.