Skip to content

Commit 5589225

Browse files
authored
CI: Fix Release Workflow (#22)
1 parent 1269964 commit 5589225

2 files changed

Lines changed: 73 additions & 92 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
RELEASE_VERSION: ${{ github.event_name == 'workflow_dispatch' && inputs.version || github.event.client_payload.version}}
2727

2828
steps:
29-
- name: "Pull Image (localstack/localstack:${{ env.RELEASE_VERSION }})"
29+
- name: "Pull Image (localstack/localstack-pro:${{ env.RELEASE_VERSION }})"
3030
run: docker pull "localstack/localstack-pro:${RELEASE_VERSION}"
3131

3232
- name: "Checkout"
@@ -41,7 +41,7 @@ jobs:
4141
python-version: "3.13"
4242

4343
- name: "Install uv"
44-
uses: astral-sh/setup-uv@v3
44+
uses: astral-sh/setup-uv@v8.2.0
4545

4646
- name: "Generate Code from Spec"
4747
run: |
@@ -87,6 +87,14 @@ jobs:
8787
localstack logs
8888
localstack stop
8989
90+
- name: "Check Uncommitted Changes"
91+
run: |
92+
if [ -n "$(git status --porcelain)" ]; then
93+
echo "Uncommitted changes detected."
94+
git diff
95+
exit 1
96+
fi
97+
9098
- name: "Create the Release Commit and Tag"
9199
run: |
92100
git commit --allow-empty -m "Release: v${RELEASE_VERSION}"

0 commit comments

Comments
 (0)