Skip to content

Commit ea9389f

Browse files
authored
Merge pull request #2390 from oasisprotocol/lw/rofl-ts-release
rofl-client/ts: don't bump version on release
2 parents 2c23cb9 + c9042b0 commit ea9389f

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

.github/workflows/release-rofl-client-ts.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919

20-
- name: Get version info
21-
id: version
22-
run: |
23-
TAG=${{ github.ref_name }}
24-
VERSION=${TAG##*/}
25-
echo "version=$VERSION" >> $GITHUB_OUTPUT
26-
2720
- name: Setup Node.js
2821
uses: actions/setup-node@v4
2922
with:
@@ -34,11 +27,7 @@ jobs:
3427
working-directory: rofl-client/ts
3528
run: npm ci --foreground-scripts
3629

37-
- name: Set package version
38-
working-directory: rofl-client/ts
39-
run: npm version ${{ steps.version.outputs.version }} --no-git-tag-version
40-
41-
- name: Rebuild after version bump
30+
- name: Build
4231
working-directory: rofl-client/ts
4332
run: npm run build
4433

rofl-client/ts/release-process.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Release Process
2+
3+
- run `npm version patch --no-git-tag-version`, make pullrequest "rofl-client/ts: Release 0.1.2", merge
4+
- checkout merged commit
5+
- `git tag --sign --message="Typescript ROFL Client 0.1.2" rofl-client/ts/v0.1.2`
6+
- `git push origin tag rofl-client/ts/v0.1.2`
7+
- see https://github.com/oasisprotocol/oasis-sdk/actions/workflows/release-rofl-client-ts.yml

0 commit comments

Comments
 (0)