Skip to content

Commit 3f78060

Browse files
committed
release.yml - package.json version incremented
1 parent acef327 commit 3f78060

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,19 @@ jobs:
1818
run: |
1919
git config user.name "${GITHUB_ACTOR}"
2020
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
21+
22+
# Update package.json version
23+
- run: npm version minor
24+
- run: git add *
25+
- run: git commit -m "package.json version incremented"
26+
- run: git push
27+
2128
- run: npm install # --legacy-peer-deps
2229
- run: npm run build
2330
- run: npm install release-it
2431
- run: echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > .npmrc
2532
- run: npm run release -- minor --ci
33+
2634
env:
2735
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2836
NPM_TOKEN: ${{ secrets.NPM_TOKEN}}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codesyntax/ionic-react-photo-viewer",
3-
"version": "1.6.0",
3+
"version": "1.12.0",
44
"description": "Ionic React photo viewer component",
55
"author": "bipoza",
66
"license": "MIT",

0 commit comments

Comments
 (0)