mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 14:06:44 +08:00
build: Stop tagged releases making a current beta - fixes #4789
Before this change stable releases updated the current beta which mean confusingly the current beta release would jump backwards from 1.54.0-beta to 1.53.3-beta say. This commit stops any tagged build making a current beta release. They will still make beta releases, they just won't update the rclone*current*.zip and version.txt files. This also means that a .0 release will not make a current beta like it does at the moment.
This commit is contained in:
parent
7078311a84
commit
1ce0b45965
4
Makefile
4
Makefile
|
@ -206,7 +206,7 @@ ci_upload:
|
||||||
find build -type l -delete
|
find build -type l -delete
|
||||||
gzip -r9v build
|
gzip -r9v build
|
||||||
./rclone --config bin/travis.rclone.conf -v copy build/ $(BETA_UPLOAD)/testbuilds
|
./rclone --config bin/travis.rclone.conf -v copy build/ $(BETA_UPLOAD)/testbuilds
|
||||||
ifndef BRANCH_PATH
|
ifeq ($(or $(BRANCH_PATH),$(RELEASE_TAG)),)
|
||||||
./rclone --config bin/travis.rclone.conf -v copy build/ $(BETA_UPLOAD_ROOT)/test/testbuilds-latest
|
./rclone --config bin/travis.rclone.conf -v copy build/ $(BETA_UPLOAD_ROOT)/test/testbuilds-latest
|
||||||
endif
|
endif
|
||||||
@echo Beta release ready at $(BETA_URL)/testbuilds
|
@echo Beta release ready at $(BETA_URL)/testbuilds
|
||||||
|
@ -215,7 +215,7 @@ ci_beta:
|
||||||
git log $(LAST_TAG).. > /tmp/git-log.txt
|
git log $(LAST_TAG).. > /tmp/git-log.txt
|
||||||
go run bin/cross-compile.go -release beta-latest -git-log /tmp/git-log.txt $(BUILD_FLAGS) $(BUILDTAGS) $(TAG)
|
go run bin/cross-compile.go -release beta-latest -git-log /tmp/git-log.txt $(BUILD_FLAGS) $(BUILDTAGS) $(TAG)
|
||||||
rclone --config bin/travis.rclone.conf -v copy --exclude '*beta-latest*' build/ $(BETA_UPLOAD)
|
rclone --config bin/travis.rclone.conf -v copy --exclude '*beta-latest*' build/ $(BETA_UPLOAD)
|
||||||
ifndef BRANCH_PATH
|
ifeq ($(or $(BRANCH_PATH),$(RELEASE_TAG)),)
|
||||||
rclone --config bin/travis.rclone.conf -v copy --include '*beta-latest*' --include version.txt build/ $(BETA_UPLOAD_ROOT)$(BETA_SUBDIR)
|
rclone --config bin/travis.rclone.conf -v copy --include '*beta-latest*' --include version.txt build/ $(BETA_UPLOAD_ROOT)$(BETA_SUBDIR)
|
||||||
endif
|
endif
|
||||||
@echo Beta release ready at $(BETA_URL)
|
@echo Beta release ready at $(BETA_URL)
|
||||||
|
|
|
@ -65,9 +65,8 @@ Now
|
||||||
* git cherry-pick any fixes
|
* git cherry-pick any fixes
|
||||||
* Do the steps as above
|
* Do the steps as above
|
||||||
* make startstable
|
* make startstable
|
||||||
* NB this overwrites the current beta so we need to do this
|
|
||||||
* git co master
|
* git co master
|
||||||
* # cherry pick the changes to the changelog
|
* `#` cherry pick the changes to the changelog - check the diff to make sure it is correct
|
||||||
* git checkout ${BASE_TAG}-stable docs/content/changelog.md
|
* git checkout ${BASE_TAG}-stable docs/content/changelog.md
|
||||||
* git commit -a -v -m "Changelog updates from Version ${NEW_TAG}"
|
* git commit -a -v -m "Changelog updates from Version ${NEW_TAG}"
|
||||||
* git push
|
* git push
|
||||||
|
|
Loading…
Reference in New Issue
Block a user