Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
MehVahdJukaar committed Aug 3, 2024
1 parent 3aec282 commit 2c7f5b6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#Sat Aug 03 23:37:34 UTC 2024
#Sat Aug 03 23:57:31 UTC 2024
mapping_version=1.20.1
version=1.0
mod_name=Zeta
mc_version=1.20.1
mapping_channel=official
mod_id=zeta
build_number=21
build_number=22
dir_output=../Build Output/Zeta/
2 changes: 1 addition & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(sorry for double release i messed up dedicated server stuff)
(sorry for double and delayed release, I messed up)
- Major overhaul of zeta event system
- Zeta events now directly delegate to forge events and the forge bus itself instead of having their own bus implementation
- No longer are events fired by forge, intercepted by zeta, and then fired again by zeta, some time multiple times per event
Expand Down
10 changes: 8 additions & 2 deletions push_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@ def main():

content = content.replace('"', '\'');
changelog = changelog + re.sub(r'(- .+)\n?', '-m "\g<1>" ', content)

print('Changelog', changelog)

os.system('git tag -a release-{}-{}-{} {}'.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')
return

build['build_number'] = str(int(build_number) + 1)
with open("build.properties", "wb") as f:
build.store(f, encoding="utf-8")
Expand Down

0 comments on commit 2c7f5b6

Please sign in to comment.