Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make RPMs ans DEBs reproducible #6359

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/actions/nightly-release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ runs:
- name: goreleaser
# Use commit hash here to avoid a re-tagging attack, as this is a third-party action
# Commit 9ed2f89a662bf1735a48bc8557fd212fa902bebf = tag v6.1.0
# TODO upd version once https://github.com/goreleaser/goreleaser/pull/5392 is released
uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf
with:
workdir: "${{ inputs.workdir }}"
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ nfpms:
formats:
- deb
- rpm
mtime: "{{ .CommitDate }}"
contents:
- src: /usr/bin/nats-server
dst: /usr/local/bin/nats-server
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ before_deploy:
deploy:
provider: script
cleanup: true
# TODO upd version once https://github.com/goreleaser/goreleaser/pull/5392 is released
script: curl -o /tmp/goreleaser.tar.gz -sLf https://github.com/goreleaser/goreleaser/releases/download/v2.5.0/goreleaser_Linux_x86_64.tar.gz && tar -xvf /tmp/goreleaser.tar.gz -C /tmp/ && /tmp/goreleaser
on:
tags: true
Expand Down
Loading