Skip to content

Commit

Permalink
Set NFPM id and remove GORELEASER_PHASE.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdoss committed Aug 13, 2024
1 parent bcf8f8b commit c87aa50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ nfpms:
# Package metadata: dpkg --info dist/step_....deb
#
- &NFPM
id: packages
builds:
- nfpm
package_name: "{{ .Var.packageName }}"
Expand Down
5 changes: 0 additions & 5 deletions scripts/package-repo-import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ check_package() {
fi
}

if [[ ${GORELEASER_PHASE} != "publish" ]]; then
echo "Skipping artifact import; GORELEASER_PHASE is not 'publish'"
exit 0;
fi

if [[ ${IS_PRERELEASE} == "true" ]]; then
echo "Skipping artifact import; IS_PRERELEASE is 'true'"
exit 0;
Expand Down

0 comments on commit c87aa50

Please sign in to comment.