Skip to content

Commit 3e183d6

Browse files
authored
fix(ci): Fix the release automation
1 parent 8816c0c commit 3e183d6

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/project.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
release:
2-
previous-version: 0.3.0
3-
current-version: 0.3.1
4-
next-version: 0.3.2
2+
previous-version: 0.2.0
3+
current-version: 0.3.0
4+
next-version: 0.3.1

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ jobs:
4646
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4747
with:
4848
ref: ${{ github.event.pull_request.base.sha }}
49-
path: before
5049
token: ${{ steps.app-token.outputs.token }}
5150
fetch-depth: 0
5251

@@ -67,7 +66,7 @@ jobs:
6766
echo "should_release=true" >> $GITHUB_OUTPUT
6867
fi
6968
70-
- name: Capture version before PR
69+
- name: Capture previous release version
7170
if: steps.verify-files.outputs.should_release == 'true'
7271
run: echo "PREVIOUS_VERSION=$(yq '.release.previous-version' .github/project.yml)" >> $GITHUB_ENV
7372

0 commit comments

Comments
 (0)