Compare commits
No commits in common. "387a6125e56b4c74cec4ca5252a78ee29c1b5f34" and "742dfe2223d98c02c9724453ca34e526ba176b33" have entirely different histories.
387a6125e5
...
742dfe2223
6 changed files with 5 additions and 13 deletions
|
@ -1 +1 @@
|
|||
updater
|
||||
no changes
|
|
@ -1 +1 @@
|
|||
{"label": "0.9-alpha.2", "id": 3, "timestamp": 1718710352, "file": "realweather-0.9-alpha.2.jar", "sha256": "5a44c0f430325f5d66ab16bfe155d231c59e2d3829ecd60b5e9c1f83578695f0"}
|
||||
{"label": "0.9-alpha.2", "id": 2, "timestamp": 1718614497, "file": "realweather-0.9-SNAPSHOT.jar", "sha256": "131f03c7f4407ee874f5a05419639fad8160a2975749916cdbbb185b62dd55c7"}
|
BIN
data/testing/0.9-alpha.2/realweather-0.9-SNAPSHOT.jar
Normal file
BIN
data/testing/0.9-alpha.2/realweather-0.9-SNAPSHOT.jar
Normal file
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
|||
{"label": "0.9-alpha.2", "id": 3, "timestamp": 1718710352, "file": "realweather-0.9-alpha.2.jar", "sha256": "5a44c0f430325f5d66ab16bfe155d231c59e2d3829ecd60b5e9c1f83578695f0"}
|
||||
{"label": "0.9-alpha.2", "id": 2, "timestamp": 1718614497, "file": "realweather-0.9-SNAPSHOT.jar", "sha256": "131f03c7f4407ee874f5a05419639fad8160a2975749916cdbbb185b62dd55c7"}
|
10
release.py
10
release.py
|
@ -111,11 +111,6 @@ def write_metadata(channel: str, metadata: dict):
|
|||
with open(filepath, 'w') as file:
|
||||
file.write(metadata)
|
||||
|
||||
def commit_and_push(channel: str, version: str):
|
||||
os.system('git add .')
|
||||
os.system(f'git commit -m "[releaser] Release {version} on {channel}"')
|
||||
os.system('git push')
|
||||
|
||||
# other
|
||||
|
||||
def confirm(prompt: str) -> bool:
|
||||
|
@ -173,10 +168,7 @@ def main():
|
|||
except FileNotFoundError:
|
||||
pass
|
||||
|
||||
if confirm("Commit and push?"):
|
||||
commit_and_push(channel, version)
|
||||
|
||||
print("Done")
|
||||
print("Done, don't forget to commit and push")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
Loading…
Reference in a new issue