We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfc525c commit 38df152Copy full SHA for 38df152
.github/workflows/ami-release-nix.yml
@@ -77,7 +77,7 @@ jobs:
77
PG_VERSION="$(nix run nixpkgs#yq -- -r '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)"
78
BRANCH_NAME="$(echo "${{ github.ref }}" | sed 's|refs/heads/||')"
79
if [[ "${{ github.event_name }}" == "workflow_dispatch" && "$BRANCH_NAME" != "develop" && "$BRANCH_NAME" != release/* ]]; then
80
- SUFFIX="${BRANCH_NAME//[^a-zA-Z0-9._-]/-}"
+ SUFFIX="${BRANCH_NAME//[^a-zA-Z0-9._-]/-}-${{ github.run_id }}"
81
PG_VERSION="${PG_VERSION}-${SUFFIX}"
82
echo "Added branch suffix to version: $SUFFIX"
83
fi
0 commit comments