mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-25 02:13:44 +03:00
ci: bundle all build artifacts in a single directory
This commit is contained in:
parent
1781e8b2c9
commit
b747b5b0fd
4
.github/workflows/packages.yml
vendored
4
.github/workflows/packages.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
dist/*/*.tar.gz
|
dist/*.tar.gz
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PSYCOPG2_TESTDB: postgres
|
PSYCOPG2_TESTDB: postgres
|
||||||
|
@ -95,7 +95,7 @@ jobs:
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
dist/*/*${{ matrix.tag }}_${{ matrix.arch }}.whl
|
dist/*.whl
|
||||||
|
|
||||||
services:
|
services:
|
||||||
postgresql:
|
postgresql:
|
||||||
|
|
|
@ -22,7 +22,7 @@ fi
|
||||||
# Find psycopg version
|
# Find psycopg version
|
||||||
version=$(grep -e ^PSYCOPG_VERSION "${prjdir}/setup.py" | sed "s/.*'\(.*\)'/\1/")
|
version=$(grep -e ^PSYCOPG_VERSION "${prjdir}/setup.py" | sed "s/.*'\(.*\)'/\1/")
|
||||||
# A gratuitous comment to fix broken vim syntax file: '")
|
# A gratuitous comment to fix broken vim syntax file: '")
|
||||||
distdir="${prjdir}/dist/psycopg2-$version"
|
distdir="${prjdir}/dist"
|
||||||
|
|
||||||
# Replace the package name
|
# Replace the package name
|
||||||
if [[ "${PACKAGE_NAME:-}" ]]; then
|
if [[ "${PACKAGE_NAME:-}" ]]; then
|
||||||
|
|
|
@ -9,7 +9,7 @@ prjdir="$( cd "${dir}/../.." && pwd )"
|
||||||
# Find psycopg version
|
# Find psycopg version
|
||||||
version=$(grep -e ^PSYCOPG_VERSION setup.py | sed "s/.*'\(.*\)'/\1/")
|
version=$(grep -e ^PSYCOPG_VERSION setup.py | sed "s/.*'\(.*\)'/\1/")
|
||||||
# A gratuitous comment to fix broken vim syntax file: '")
|
# A gratuitous comment to fix broken vim syntax file: '")
|
||||||
distdir="${prjdir}/dist/psycopg2-$version"
|
distdir="${prjdir}/dist"
|
||||||
|
|
||||||
# Replace the package name
|
# Replace the package name
|
||||||
if [[ "${PACKAGE_NAME:-}" ]]; then
|
if [[ "${PACKAGE_NAME:-}" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user