mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 01:44:41 +01:00
Include git-log.txt into beta releases - fixes #1047
This commit is contained in:
parent
1ae604fcf4
commit
86cc9f3dfb
3
Makefile
3
Makefile
@ -106,7 +106,8 @@ beta:
|
|||||||
@echo Beta release ready at http://pub.rclone.org/$(TAG)%CE%B2/
|
@echo Beta release ready at http://pub.rclone.org/$(TAG)%CE%B2/
|
||||||
|
|
||||||
travis_beta:
|
travis_beta:
|
||||||
go run bin/cross-compile.go -release latest-beta $(TAG)β
|
git log $(LAST_TAG).. > /tmp/git-log.txt
|
||||||
|
go run bin/cross-compile.go -release beta-latest -git-log /tmp/git-log.txt $(TAG)β
|
||||||
rclone --config bin/travis.rclone.conf -v copy build/ memstore:beta-rclone-org/$(TAG)
|
rclone --config bin/travis.rclone.conf -v copy build/ memstore:beta-rclone-org/$(TAG)
|
||||||
@echo Beta release ready at $(BETA_URL)
|
@echo Beta release ready at $(BETA_URL)
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@ var (
|
|||||||
debug = flag.Bool("d", false, "Print commands instead of running them.")
|
debug = flag.Bool("d", false, "Print commands instead of running them.")
|
||||||
parallel = flag.Int("parallel", runtime.NumCPU(), "Number of commands to run in parallel.")
|
parallel = flag.Int("parallel", runtime.NumCPU(), "Number of commands to run in parallel.")
|
||||||
copyAs = flag.String("release", "", "Make copies of the releases with this name")
|
copyAs = flag.String("release", "", "Make copies of the releases with this name")
|
||||||
|
gitLog = flag.String("git-log", "", "git log to include as well")
|
||||||
)
|
)
|
||||||
|
|
||||||
// GOOS/GOARCH pairs we build for
|
// GOOS/GOARCH pairs we build for
|
||||||
@ -98,6 +99,9 @@ func compileArch(version, goos, goarch, dir string) {
|
|||||||
run("cp", "-a", "../MANUAL.txt", filepath.Join(dir, "README.txt"))
|
run("cp", "-a", "../MANUAL.txt", filepath.Join(dir, "README.txt"))
|
||||||
run("cp", "-a", "../MANUAL.html", filepath.Join(dir, "README.html"))
|
run("cp", "-a", "../MANUAL.html", filepath.Join(dir, "README.html"))
|
||||||
run("cp", "-a", "../rclone.1", dir)
|
run("cp", "-a", "../rclone.1", dir)
|
||||||
|
if *gitLog != "" {
|
||||||
|
run("cp", "-a", *gitLog, dir)
|
||||||
|
}
|
||||||
zip := dir + ".zip"
|
zip := dir + ".zip"
|
||||||
run("zip", "-r9", zip, dir)
|
run("zip", "-r9", zip, dir)
|
||||||
if *copyAs != "" {
|
if *copyAs != "" {
|
||||||
|
Loading…
Reference in New Issue
Block a user