Skip to content

Commit

Permalink
fix: add upgrade helper script to nfpms manifest (#20339)
Browse files Browse the repository at this point in the history
  • Loading branch information
danxmoran committed Dec 17, 2020
1 parent 77871f8 commit 4b76c63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .goreleaser-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ nfpms:
"scripts/init.sh": "/usr/lib/influxdb/scripts/init.sh"
"scripts/influxdb.service": "/usr/lib/influxdb/scripts/influxdb.service"
"scripts/logrotate": "/etc/logrotate.d/influxdb"
"scripts/influxdb2-upgrade.sh": "/usr/share/influxdb/influxdb2-upgrade.sh"
scripts:
preinstall: "scripts/pre-install.sh"
postinstall: "scripts/post-install.sh"
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ nfpms:
"scripts/init.sh": "/usr/lib/influxdb/scripts/init.sh"
"scripts/influxdb.service": "/usr/lib/influxdb/scripts/influxdb.service"
"scripts/logrotate": "/etc/logrotate.d/influxdb"
"scripts/influxdb2-upgrade.sh": "/usr/share/influxdb/influxdb2-upgrade.sh"
scripts:
preinstall: "scripts/pre-install.sh"
postinstall: "scripts/post-install.sh"
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
1. [20351](https://github.com/influxdata/influxdb/pull/20351): Ensure `influxdb` service sees default env variables when running under `init.d`.
1. [20350](https://github.com/influxdata/influxdb/pull/20350): Don't show the upgrade notice on fresh `influxdb2` installs.
1. [20350](https://github.com/influxdata/influxdb/pull/20350): Ensure `config.toml` is initialized on fresh `influxdb2` installs.
1. [20339](https://github.com/influxdata/influxdb/pull/20339): Include upgrade helper script in goreleaser manifest.

## v2.0.3 [2020-12-14]
----------------------
Expand Down

0 comments on commit 4b76c63

Please sign in to comment.