Skip to content

Commit 7a44544

Browse files
committed
fix(ci): update versioning to include timestamp for prerelease
1 parent 72cf090 commit 7a44544

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ jobs:
3939
- name: Update version
4040
run: |
4141
VERSION=$(yq '.info.version' openapi.yaml | tr -d '"')
42-
43-
pnpm version ${VERSION} --no-git-tag-version
44-
pnpm version prerelease --no-git-tag-version --preid next
42+
pnpm version "${VERSION}-next.$(date +%s)" --no-git-tag-version
4543
4644
- name: Build
4745
run: pnpm build

0 commit comments

Comments
 (0)