Commit Graph

30 Commits

Author SHA1 Message Date
Matheus Macabu c46c1a7128
build: use goreleaser for building cross-compiled binaries and add riscv64 target (#2135)
* build: use goreleaser to cross-compile binaries for all platforms and archs

The main motivation behind it is because "gox" is unmaintained and archived
and it does not support "linux/riscv64" as a target.

Right now, goreleaser is only building the binaries, and I've tried to replicate
the exact same way the old script does.

In the future, if so desired, goreleaser could be used to further automate the
build and release pipeline by creating the release in GitHub.

* build: create binaries and OCI image for linux/riscv64
2024-08-20 13:09:12 +10:00
Mike Farah aaf805d893 Added checksum in bsd format 2023-08-11 13:51:10 +10:00
Mike Farah a6f0495b1f Stripped debugging info from binary 2023-03-16 13:37:30 +11:00
Mike Farah a6d1a52e33 Fixing versioning code for release 2022-11-15 20:08:58 +11:00
Mike Farah 9606957a0e Fixed auto versioning in xcompile.sh 2022-11-14 16:43:06 +11:00
Takumi Sue 1fd96e168e
Fix mis-versioning due to hardcoding cmd.Version (#1431) 2022-11-14 16:38:43 +11:00
Mike Farah bc2118736b v4.24.2 2022-03-28 14:36:27 +11:00
Mike Farah 9b66e0a094 Include zip file checksums in release 2022-01-23 10:45:18 +11:00
Mike Farah ae60fb8e38 Improved extract-checksum.sh 2021-12-10 16:57:04 +11:00
Mike Farah ee376fdfd2 Man page release workflow wip 2021-10-20 15:01:08 +11:00
Mike Farah bc04873292 Man page 2021-10-18 11:03:53 +11:00
Andrew Stribblehill d61b9cab65 Checksum archives as well as binaries
Often, checksums are based on the archive files. This gives some measure of confidence that the file won't exploit a tar or zip vulnerability.
2021-06-22 08:47:43 +10:00
Alec Thomas 9e61f88dba Add darwin/arm64 builds 2021-06-12 16:39:06 +10:00
Mike Farah 8ee6f7dc1a fixing xcompile for git action 2020-12-22 22:50:01 +11:00
Mike Farah 8bd54cd603 fixing xcompile for git action 2020-12-22 22:31:28 +11:00
Mike Farah f2f7b6db0f only tar executable files 2020-12-22 20:50:52 +11:00
Mike Farah e082fee5d4 Fixed rhash call 2020-12-22 20:37:35 +11:00
Mike Farah 412911561f Fixed xcompile.sh 2020-12-22 20:23:13 +11:00
Mike Farah 4c60a2a967 trialing github release actions 2020-12-22 19:52:44 +11:00
Mike Farah 7849232255 tar files to keep permissions of exectuable 2020-12-22 10:25:15 +11:00
Mike Farah 57cd67f055 Added compressed binaries for download managers and better file size 2020-12-21 21:40:08 +11:00
Mike Farah 3b0aaac626 Added checksum hashes order to release 2020-09-18 16:37:45 +10:00
Mike Farah 5b7b390a33 Force static linking 2020-09-13 10:32:45 +10:00
Mike Farah 8ade1275e2 Fixing github action description 2020-03-02 08:43:47 +11:00
Mike Farah 96955ffa9c release notes 2020-01-11 09:55:24 +11:00
Mike Farah 28169b04f7 Added build support for all linux architectures supported by gox 2018-07-23 09:16:52 +10:00
Mike Farah 742cf748ac Added support for PPC architectures 2018-07-18 13:45:15 +10:00
kenjones 72bd88cfa5 Feature: Adds support for --version
Resolves: #24
2017-09-23 01:08:39 -04:00
kenjones cf2f23d747 Bugfix: Resolve failing acceptance test 2017-09-22 23:58:50 -04:00
kenjones 86639acf70 Task: Simplify development
The base directory has all shell scripts in scripts/
and all example/test files in examples/.
A Makefile provides all the commands with helpful information.
If a developer simply types `make` then vendor is properly updated,
the code is formatted, linted, tested, built, acceptance test run,
and installed.

Linting errors resolved.
Ignored test case (`TestParsePath`) updated to work as expected.
2017-09-23 08:37:34 +10:00