Skip to content

Commit 9898fba

Browse files
committed
chore: fetch package version after checkout and build
1 parent c1e1e82 commit 9898fba

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/ecr-release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,11 @@ jobs:
2828
- arch: x86_64
2929
- arch: arm64
3030
steps:
31-
- name: Get version from __about__.py
32-
id: version
33-
run: |
34-
VERSION=$(python -c "from src.aws_durable_execution_sdk_python_testing.__about__ import __version__; print(__version__)")
35-
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
3631
- uses: actions/checkout@v6
3732
- name: Set up Python
3833
uses: actions/setup-python@v6
3934
with:
4035
python-version: "3.13"
41-
4236
- name: Install dependencies
4337
run: |
4438
python -m pip install --upgrade pip
@@ -50,6 +44,11 @@ jobs:
5044
platforms: arm64
5145
- name: Build distribution
5246
run: hatch build
47+
- name: Get version from __about__.py
48+
id: version
49+
run: |
50+
VERSION=$(python -c "from src.aws_durable_execution_sdk_python_testing.__about__ import __version__; print(__version__)")
51+
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
5352
- name: Configure AWS Credentials
5453
uses: aws-actions/configure-aws-credentials@v4
5554
with:

0 commit comments

Comments
 (0)