File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 9
9
- ' .github/workflows/publish-pgupgrade-scripts.yml'
10
10
- ' common-nix.vars.pkr.hcl'
11
11
workflow_dispatch :
12
+ inputs :
13
+ postgresVersion :
14
+ description : ' Optional. Postgres version to publish against, i.e. 15.1.1.78'
15
+ required : false
12
16
13
17
permissions :
14
18
id-token : write
25
29
id : process_release_version
26
30
run : |
27
31
VERSION=$(grep 'postgres-version' common-nix.vars.pkr.hcl | sed -e 's/postgres-version = "\(.*\)"/\1/g')
32
+ if [[ "${{ inputs.postgresVersion }}" != "" ]]; then
33
+ VERSION=${{ inputs.postgresVersion }}
34
+ fi
28
35
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
29
36
30
37
- name : Create a tarball containing pg_upgrade scripts
Original file line number Diff line number Diff line change 8
8
- ' .github/workflows/publish-pgupgrade-scripts.yml'
9
9
- ' common.vars.pkr.hcl'
10
10
workflow_dispatch :
11
+ inputs :
12
+ postgresVersion :
13
+ description : ' Optional. Postgres version to publish against, i.e. 15.1.1.78'
14
+ required : false
11
15
12
16
permissions :
13
17
id-token : write
24
28
id : process_release_version
25
29
run : |
26
30
VERSION=$(grep 'postgres-version' common.vars.pkr.hcl | sed -e 's/postgres-version = "\(.*\)"/\1/g')
31
+ if [[ "${{ inputs.postgresVersion }}" != "" ]]; then
32
+ VERSION=${{ inputs.postgresVersion }}
33
+ fi
27
34
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
28
35
29
36
- name : Create a tarball containing pg_upgrade scripts
You can’t perform that action at this time.
0 commit comments