Skip to content

Commit dd38934

Browse files
committed
push tag
1 parent 94d98ee commit dd38934

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

push_tag.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def main():
2323
for line in lines:
2424
changelog = changelog + '-m "'+line+'" '
2525

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

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

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

4141
if __name__ == '__main__':
4242
main()

0 commit comments

Comments
 (0)