Commit Graph

12 Commits

Author SHA1 Message Date
Ivan Kozlovic
d4f2b179dd [ADDED] Architecture s390x in goreleaser.yml file
[ci skip]

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2022-09-08 16:49:59 -06:00
Ivan Kozlovic
04c6d6176a [ADDED] Symlink for deb/rpm packages
Since v2.7.4 and due to an update of the goreleaser tool, the
server is now installed under "/usr/bin" instead of "/usr/local/bin".

We keep the install in "/usr/bin" but this PR adds symlink so that
"/usr/local/bin" still points to the nats-server.

Resolves #3239

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2022-07-05 10:05:04 -06:00
Ivan Kozlovic
c76bf81267 Fixed goreleaser ldflags
Since we moved to go modules, the path must include the `/v2`.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2022-01-13 19:02:41 -07:00
Ivan Kozlovic
59eef192cd Prepare for release v2.7.0, start with v2.7.0-rc1
Since we have never released with goreleaser and GO111MODULE=on
and have removed vendor directory, we are going to push a
v2.7.0-rc1 tag. If the goreleaser process works fine and submit
the draft release correctly, we will not do an actual v2.7.0-rc1
release. Instead, we will follow up immediately with the v2.7.0
tag and the proper release.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2022-01-13 16:15:51 -07:00
Yaxiong Zhao
b0cecaf666 Remove '-s' flag from ldflags from the build
This retains the symbols (but still removes the dwarf info).
This increases the executable size by ~8% (test on my laptop):

$ go build -ldflags '-w' -o nats-server
-rwxrwxr-x 1 yzhao yzhao 11911273 Jul 28 15:52 nats-server

$ go build -ldflags '-s -w' -o nats-server
-rwxrwxr-x 1 yzhao yzhao 11128832 Jul 28 15:52 nats-server

Symbols are very useful during debugging. It would be great that if the
NATS team consider including symbols.
2021-07-28 15:56:58 -07:00
duchuanLX
e2c8b7848b release support mips64le 2021-02-04 16:37:45 +08:00
Phil Pennock
33e1602111 goreleaser target freebsd/amd64 2020-11-24 23:04:50 -05:00
Jaime Piña
0223f381c9 Offer .tar.gz releases
The zip/unzip commands aren't installed by default on most Linux
distros. However, tar is almost always installed. Additionally, users
may get confused when they try to uncompress an archive with
gzip/gunzip, only for it to fail because gunzip is for .gz files, not
.zip.

This change makes it a little easier to grab a copy of a nats-server
release binary.
2020-09-08 12:05:12 -07:00
Ivan Kozlovic
b329215af3 Release v2.1.7
Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2020-05-13 19:40:49 -06:00
Ivan Kozlovic
a44e3f037c Change checksum file name to SHA256SUMS so it can be used with rget
See:
https://github.com/merklecounty/rget/blob/master/Documentation/integrations.md
6c02b98031/.goreleaser.yml (L30)

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2019-08-15 09:07:20 -06:00
Ivan Kozlovic
fc8087daa7 Updates based on comments
- add sha256 algo
- move some mem hungry tests while running with -race to the norace
- remove GOGC=10

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2019-08-15 09:06:56 -06:00
Ivan Kozlovic
07e3db6b8e Prepare for v2.0.4 with goreleaser
Also fixed some flappers

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2019-08-15 09:06:56 -06:00