DraqueT / PolyGlot

PolyGlot is a conlang construction toolkit.
MIT License
398 stars 45 forks source link

1011 update release package name #1375

Closed synthfi closed 2 weeks ago

synthfi commented 2 weeks ago

Changes

Notes

Example release files OS environment Release file name(s)
Linux x86 polyglot-linear-a_3.6-1_amd64.deb
polyglot-linear-a-3.6-1.x86_64.rpm
Linux ARM polyglot-linear-a-3.6-1.aarch64.rpm
OSX ARM PolyGlot-3.6.dmg
Windows x86 PolyGlot-3.6.exe
Example beta file name OS environment Beta file name(s)
Linux x86 _BETA_2024-11-08-15-12_polyglot-linear-a_3.6-1_amd64.deb
_BETA_2024-11-08-15-13_polyglot-linear-a-3.6-1.x86_64.rpm
OSX ARM _BETA_2024-11-08-17-48_PolyGlot-3.6.dmg
Windows x86 _BETA_2024-11-08-14-32_PolyGlot-3.6.9703.exe

How to generate packages (examples)

Release: python3 build_image.py --release --copyDestination .
Beta: python3 build_image.py --copyDestination .

Draft:

synthfi commented 2 weeks ago

want to change the beta release to use a datetime as trapinch has suggested. also go with that on windows instead of uuid

synthfi commented 2 weeks ago

@TrapinchO in this commit I added a datetime into the name of a generated beta package. Example output on windows: _BETA_2024-11-08-14-32_PolyGlot-3.6.9703.exe

how does this look to you?

TrapinchO commented 2 weeks ago

@TrapinchO in this commit I added a datetime into the name of a generated beta package. Example output on windows: _BETA_2024-11-08-14-32_PolyGlot-3.6.9703.exe

how does this look to you?

That looks good to me!

By the way, f"{datetime.datetime.now():%Y-%m-%d-%H-%M}" is equivalent to datetime.datetime.now().strftime('%Y-%m-%d-%H-%M') iirc, in case it would interest you.

synthfi commented 2 weeks ago

did not know about that syntax~ I just finished testing on all systems I have for this latest commit, so I'll tack that onto a future PR that is related to the build_image.py