File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 33 pull_request :
44 push : { branches: [master] }
55
6+ permissions :
7+ contents : read
8+
69jobs :
710 build :
811 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 77 tags :
88 - ' v*' # Push events to matching v*, i.e. v1.0, v20.15.10
99
10+ permissions :
11+ contents : write
12+ id-token : write
13+
1014jobs :
1115 release :
1216 name : Create Release
8791 cp `find target/release -type f -name "${{ matrix.extension_name }}*"` archive
8892
8993 # name of the package directory before packaging
90- package_dir=${{ matrix.extension_name }}-${{ github.ref_name }}-pg${{ matrix.postgres }}-${{ matrix.box.arch }}-linux-gnu
94+ package_dir=" ${{ matrix.extension_name }}-${{ github.ref_name }}-pg${{ matrix.postgres }}-${{ matrix.box.arch }}-linux-gnu"
9195
9296 # Copy files into directory structure
9397 mkdir -p ${package_dir}/usr/lib/postgresql/lib
@@ -110,7 +114,7 @@ jobs:
110114 cd ../../../../../..
111115
112116 # Create install control file
113- extension_version=${{ github.ref_name }}
117+ extension_version=" ${{ github.ref_name }}"
114118 # strip the leading v
115119 deb_version=${extension_version:1}
116120
Original file line number Diff line number Diff line change 33 pull_request :
44 push : { branches: [master] }
55
6+ permissions :
7+ contents : read
8+
69jobs :
710 test :
811 name : Run tests
You can’t perform that action at this time.
0 commit comments