mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 15:00:17 +02:00
Scripts: Allow user override on tagged version
In the case of a missing month or a minor version, need to allow user defined overrides.
This commit is contained in:
1 parent
cae4f2f873
commit
952e157770
1 file changed
+3
-2
@@ -1,7 +1,8 @@
|
||||
#!/bin/env bash
|
||||
|
||||
PREVIOUS=FEX-$(date --date='-1 month' +%y%m)
|
||||
CURRENT=FEX-$(date +%y%m)
|
||||
# Allow release maintainer to override PREVIOUS and CURRENT by setting it before launching the script
|
||||
PREVIOUS=${PREVIOUS:-FEX-$(date --date='-1 month' +%y%m)}
|
||||
CURRENT=${CURRENT:-FEX-$(date +%y%m)}
|
||||
|
||||
if ! git rev-list $PREVIOUS > /dev/null 2>&1 ;
|
||||
then
|
||||
|
||||
Reference in new issue
Block a user