Skip to content

Commit

Permalink
Update testpypi to pypi for first release
Browse files Browse the repository at this point in the history
  • Loading branch information
Praful932 committed Dec 20, 2020
1 parent 6452ce7 commit f28396f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/add_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

with open("setup.py") as f:
lines = f.readlines()
lines[4] = "version = '" + new_version + "'\n"
lines[4] = "version = '" + new_version[1:] + "'\n"

with open("setup.py", "w") as f:
f.writelines(lines)
2 changes: 1 addition & 1 deletion .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
git config --local user.email "${{ secrets.EMAIL }}"
git config --local user.name "${{ secrets.USERNAME }}"
git add setup.py
git commit -m "Release v${{ github.event.release.tag_name }}"
git commit -m "Release ${{ github.event.release.tag_name }}"
- name: Push changes
uses: ad-m/github-push-action@master
with:
Expand Down

0 comments on commit f28396f

Please sign in to comment.