File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,11 @@ required:
2323 - set ` golang ` version within ` ./toolchain.env `
2424 - check ` <MAJOR>.<MINOR> ` used rclone version in ` rclone.env ` and produced
2525 targets within ` targets.env `
26- - update ` ./make_release.sh ` script in case dependant components are rclone
26+ - update ` ./make_release.sh ` script in case dependant components of rclone
2727 must be upgraded
28+ - update ./release.env to set a release ` <TIMESTAMP> ` : ` echo TIMESTAMP=$(date +%Y%m%d%H%M%S) > ./release.env `
2829- run ` ./make_release.sh ` to produce necessary binaries:
29- - ` golang-<GO_VERSION>-<COMMIT> ` folder with necessary structure and binaries
30+ - ` golang-<GO_VERSION>-<COMMIT>-<TIMESTAMP> ` folder with necessary structure and binaries
3031 should be produced
3132- push local changes to GitHub
3233- make tagged release ` golang-<GO_VERSION>-<COMMIT> ` with artifacts and
Original file line number Diff line number Diff line change 55SCRIPT_DIR=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd )
66cd ${SCRIPT_DIR}
77. ./toolchain.env
8+ . ./release.env
89
910printf " Making release of rclone for ArangoDB with $GO_VERSION ...\n\n"
1011
11- RELEASE_TAG=" ${GO_VERSION//:/ -} -$( git rev-parse --short HEAD) "
12+ RELEASE_TAG=" ${GO_VERSION//:/ -} -$( git rev-parse --short HEAD) _ $TIMESTAMP "
1213RELEASE_OUTPUT=${SCRIPT_DIR} /${RELEASE_TAG}
1314rm -rf ${RELEASE_OUTPUT} && mkdir -p ${RELEASE_OUTPUT}
1415
Original file line number Diff line number Diff line change 1+ TIMESTAMP = 20251215145812
You can’t perform that action at this time.
0 commit comments