Skip to content

Commit 2c340ec

Browse files
author
Dmytro Parfeniuk
committed
👷 utils/inject_build_props.py controls the dist names
1 parent 6ca56d3 commit 2c340ec

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

.github/workflows/development.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
name: Build & Publish the distribution
5252
needs: [unit-tests, integration-tests, e2e-tests]
5353
runs-on: ubuntu-latest
54+
env:
55+
GUIDELLM_BUILD_TYPE: dev
56+
GUIDELLM_BUILD_NUMBER: ${{ github.event.pull_request.number || github.run_number }}
5457
steps:
5558
- uses: actions/checkout@v4
5659
- name: Set up Python
@@ -62,4 +65,3 @@ jobs:
6265
with:
6366
publish_pypi: false
6467
publish_pypi_internal: true
65-
build_type: "dev"

.github/workflows/nightly.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ jobs:
7171
publish:
7272
needs: [unit-tests, integration-tests, e2e-tests]
7373
runs-on: ubuntu-latest
74+
env:
75+
GUIDELLM_BUILD_TYPE: nightly
76+
GUIDELLM_BUILD_NUMBER: ${{ github.event.pull_request.number || github.run_number }}
7477
steps:
7578
- uses: actions/checkout@v4
7679
- name: Set up Python
@@ -82,4 +85,3 @@ jobs:
8285
with:
8386
publish_pypi: true
8487
publish_pypi_internal: true
85-
build_type: "nightly"

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ jobs:
7575
name: Build & Publish the distribution
7676
needs: [unit-tests, integration-tests, e2e-tests]
7777
runs-on: ubuntu-latest
78+
env:
79+
GUIDELLM_BUILD_TYPE: release
80+
GUIDELLM_BUILD_NUMBER: ${{ github.event.pull_request.number || github.run_number }}
7881
steps:
7982
- uses: actions/checkout@v4
8083
- name: Set up Python
@@ -86,4 +89,3 @@ jobs:
8689
with:
8790
publish_pypi: true
8891
publish_pypi_internal: true
89-
build_type: "release"

.github/workflows/staging.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ jobs:
7373
name: Build & Publish the distribution
7474
needs: [unit-tests, integration-tests, e2e-tests]
7575
runs-on: ubuntu-latest
76+
env:
77+
GUIDELLM_BUILD_TYPE: release
78+
GUIDELLM_BUILD_NUMBER: ${{ github.event.pull_request.number || github.run_number }}
7679
steps:
7780
- uses: actions/checkout@v4
7881
- name: Set up Python
@@ -84,4 +87,3 @@ jobs:
8487
with:
8588
publish_pypi: false
8689
publish_pypi_internal: true
87-
build_type: "release"

0 commit comments

Comments
 (0)