Skip to content

Commit 9e9e5cf

Browse files
authored
Merge pull request #291 from CleanCut/release-env
Set environment name for the releases
2 parents b34629f + cf1b1de commit 9e9e5cf

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/release-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Upload release to PyPI Test
1010
runs-on: ubuntu-latest
1111
environment:
12-
name: pypi
12+
name: release-test
1313
url: https://test.pypi.org/p/green
1414
permissions:
1515
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
if: github.event_name == 'release'
1212
runs-on: ubuntu-latest
1313
environment:
14-
name: pypi
14+
name: release
1515
url: https://pypi.org/p/green
1616
permissions:
1717
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#### Date TBD
33

44
# Version 4.0.1
5-
#### 14 Feb 2024
5+
#### 15 Feb 2024
66

77
Note that we are explicitly flagging Python 3.12.1 as incompatible due to a regression
88
that was fixed in 3.12.2.

release.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ Steps to Release
55

66
2. Push and merge to the main branch.
77

8-
3. Trigger the Release Test workflow in GitHub Actions. Optional but recommended.
8+
3. Trigger the Release Test workflow in GitHub Actions then approve the run on the release-test environment. Optional but recommended.
99

10-
4. Create a new release in GitHub with a tag that mirrors the version, the GH action will take care of the rest.
10+
4. Create a new release in GitHub with a tag that mirrors the version, the GH action will take care of the rest after beeing approved to run.

0 commit comments

Comments
 (0)