Skip to content
This repository was archived by the owner on Sep 6, 2024. It is now read-only.

Commit e40cf64

Browse files
committed
commit version change
1 parent 4152380 commit e40cf64

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/publish.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ jobs:
4545
- run: |
4646
git config --global user.name "${GITHUB_ACTOR}"
4747
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
48-
- run: npm version ${{ github.event.inputs.version }}
49-
- run: npm publish --access public
48+
- id: version
49+
run: echo "version=$(npm version ${{ github.event.inputs.version }})" >> $GITHUB_OUTPUT
50+
- run: git add package.json && git commit -m "publish ${{ github.event.inputs.version }} ${{ steps.version.outputs.version }}"
51+
- run: pnpm publish --access public
5052
env:
5153
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
52-
- run: git push origin && git push --tags
54+
- run: git push

packages/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@101-ways/core",
33
"description": "Accelerator core package.",
4-
"version": "0.0.0",
4+
"version": "0.1.0",
55
"main": "./dist/index.js",
66
"types": "./dist/index.d.ts",
77
"scripts": {

0 commit comments

Comments
 (0)