Michael Eischer
3800eac54b
prepare-release: improve handling of release from non-master branch
...
The final push command now states the correct branch to push.
2024-11-03 21:44:45 +01:00
Michael Eischer
00d9ce7bee
fix setting version in build script
2024-07-08 19:30:17 +02:00
Michael Eischer
a0cac7fcd1
helpers/prepare-release: write dev version to VERSION file
2024-07-07 14:04:09 +02:00
Michael Eischer
08c43d2c7e
update release verification script for latest docker
2024-06-07 21:00:10 +02:00
Michael Eischer
484dbb1cf4
get rid of a few global variables
2024-04-22 22:39:33 +02:00
Andrea Gelmini
241916d55b
Fix typos
2023-12-06 13:11:55 +01:00
Michael Eischer
50ef01131a
Merge pull request #4542 from MichaelEischer/support-armv6
...
Only support ARMv6 on ARM platforms
2023-10-27 19:42:49 +02:00
Michael Eischer
5166bde386
Only support ARMv6 on ARM platforms
...
Go 1.21 has switched the default from GOARM=5 to GOARM=7. So far there
have been complaints from Raspberry Pi 1 users, as the first raspberry
pi version only supports ARMv6. Exclude older ARM versions as these are
likely not relevant (rest-server also only supports ARMv6/7) and enforce
the use of software floating point emulation.
2023-10-27 19:12:12 +02:00
Michael Eischer
c19e39968f
verify-release-binaries.sh: don't show warning if binaries are correct
2023-10-26 19:59:27 +02:00
Michael Eischer
b2b0856908
Add helper script to verify release binaries
...
The script checks that the released binaries and the container binaries
can be reproduced.
2023-10-21 19:44:59 +02:00
Michael Eischer
f689e2638d
reenable aix builds
2023-07-27 21:27:31 +02:00
Michael Eischer
43fa051546
Directly build restic binary in release Docker container
2023-07-08 23:05:02 +02:00
Michael Eischer
2293835242
Release multi-platform docker containers
2023-07-08 23:05:02 +02:00
Michael Eischer
61042a77a4
building on aix is currently not possible
2023-06-09 13:35:35 +02:00
Michael Eischer
4e9e2c3229
CI: Use build-release-binaries to run the cross-compilation tests
...
gox silently ignored linux/mips and aix/ppc64. This change also removes
the duplicate platform list.
2023-06-09 13:27:57 +02:00
Michael Eischer
faec0ff816
build-release-binaries: support building a subset of all platforms
2023-06-09 13:27:33 +02:00
Michael Eischer
55c4ca66f7
add linux/riscv64 builds
2023-01-30 22:24:12 +01:00
Michael Eischer
f755233210
Replace usages of ioutil.ReadDir
...
This changes the return type to []fs.DirEntry. However, as we only use
the filenames anyways, this doesn't make a difference.
2022-12-02 19:54:27 +01:00
Michael Eischer
ff7ef5007e
Replace most usages of ioutil with the underlying function
...
The ioutil functions are deprecated since Go 1.17 and only wrap another
library function. Thus directly call the underlying function.
This commit only mechanically replaces the function calls.
2022-12-02 19:36:43 +01:00
Herbert Graeber
988b386e8b
Add powershell completion
...
- Add code for powersehll complition available in cobra
- Add documentation for powershell completion
- Add changelog for pr3925
2022-09-11 00:44:12 +02:00
Michael Eischer
c3374b3ea5
helper: download modules as first step
...
There's no use in running that step in parallel.
2022-08-20 12:11:54 +02:00
Michael Eischer
7f0929e519
helper: Reduce number of parallel builds a bit
...
The go compiler is already parallelized. The high concurrency caused my
podman container to hit a resource limit.
2022-08-20 12:10:48 +02:00
Michael Eischer
ed94678820
helper: cleanups
2022-08-20 12:10:29 +02:00
Michael Eischer
e530d422a0
helper: don't setup cmd paths twice
2022-08-20 12:09:42 +02:00
Michael Eischer
495831d53c
add release binaries for linux/s390x
2021-07-10 00:10:24 +02:00
Tin Lai
9cc1ecdd45
bump cobra and add completions for fish
...
Signed-off-by: Tin Lai <oscar@tinyiu.com>
2021-05-21 13:47:52 +10:00
Michael Eischer
af6f6fba15
Build darwin/arm64 binaries for Apple M1
2021-05-14 23:04:45 +02:00
Alexander Neumann
12f0ccc237
helpers: Also push versioned image to Docker
2021-02-15 20:08:40 +01:00
Alexander Neumann
0858fbf6aa
Add more error handling
2021-01-30 20:19:47 +01:00
Alexander Neumann
eb72b10f55
Add mips* architectures to CI and release
2021-01-03 10:41:54 +01:00
Alexander Neumann
e8abc79ce9
Add hints for keeping the list of architectures in sync
2021-01-01 10:09:04 +01:00
Alexander Neumann
4133b1ea65
Synchronize OS and architectures for testing
2020-12-29 11:11:50 +01:00
Alexander Neumann
8a0dbe7c1a
helpers: Remove old changelog files for release
2020-11-05 10:26:00 +01:00
Alexander Neumann
79a50e3b1f
helpers: Create changelog subdir for release
2020-11-05 09:39:06 +01:00
Alexander Neumann
8903b6c88a
helpers: Rework list of architectures
...
This also removes darwin/386 which is not supported on Go 1.15 any more.
2020-09-12 16:39:41 +02:00
Alexander Neumann
93583c01b1
helpers: Fetch modules for release binaries
2020-09-12 16:25:36 +02:00
Alexander Neumann
c0373cd307
Remove -mod=vendor from all documentation and code
2020-03-01 19:32:35 +01:00
Matt Holt
1c3812a6f6
Merge pull request #2342 from rpsene/master
...
Add support for ppc64le
2019-12-16 11:50:52 -07:00
Rafael Peria de Sene
ec91b80f09
Add support for ppc64le
...
This commit adds support for cross-compiling Restic for ppc64le
as part of the release process.
Add a new file: changelog/unreleased/issue-2277
Modifies: helpers/build-release-binaries/main.go
Modifies: run_integration_tests.go
2019-12-15 22:52:13 -03:00
Alexandr Bruyako
38ea7ed4f6
remove unused code
2019-07-01 00:24:45 +03:00
Alexander Neumann
3b0ad2e368
release: Pull latest alpine image
2019-01-06 21:39:56 +01:00
Alexander Neumann
a5b40e9372
helpers: Use version string in built binaries
2018-10-13 13:48:03 +02:00
Alexander Neumann
c5ec4efe91
Update prepare-release
2018-10-13 13:48:03 +02:00
Alexander Neumann
e64a0e0454
helpers: Don't run sha256sums in build
2018-10-13 13:48:03 +02:00
Alexander Neumann
c4896ed642
Add build-release-binaries
2018-10-11 22:37:25 +02:00
Alexander Neumann
29aaec383c
Move scripts/ to helpers/
2018-10-11 22:37:25 +02:00