Skip to content

Commit

Permalink
push tag
Browse files Browse the repository at this point in the history
  • Loading branch information
MehVahdJukaar committed Aug 4, 2024
1 parent 94d98ee commit dd38934
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions push_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def main():
for line in lines:
changelog = changelog + '-m "'+line+'" '

tag_success = os.system('git tag -a release-{}-{}-{}c {}'.format(mc_version, version, build_number, changelog))
tag_success = os.system('git tag -a release-{}-{}-{} {}'.format(mc_version, version, build_number, changelog))

if tag_success != 0:
print('Failed to create tag')
Expand All @@ -36,7 +36,7 @@ def main():
build.store(f, encoding="utf-8")

os.system('git commit -a -m build')
os.system('git push origin main release-{}-{}-{}c'.format(mc_version, version, build_number))
os.system('git push origin main release-{}-{}-{}'.format(mc_version, version, build_number))

if __name__ == '__main__':
main()

0 comments on commit dd38934

Please sign in to comment.