File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed
Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 1- name : Release Package
1+ name : Release @agoric/synpress
22
33on :
4- push :
5- branches :
6- - master
4+ workflow_dispatch :
5+ inputs :
6+ version :
7+ description : ' release: major|minor|patch'
8+ required : true
9+ default : patch
10+
11+ concurrency :
12+ group : ${{ github.head_ref || github.run_id }}
13+ cancel-in-progress : true
714
815jobs :
916 release :
2431 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
2532 run : |
2633 echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
27- cat ~/.npmrc | sed 's/:_authToken=.*/:_authToken=[SECURED]/'
2834
2935 - name : Install pnpm
3036 run : npm install -g pnpm
3642 run : |
3743 git config --global user.name "${{ secrets.GIT_USER }}"
3844 git config --global user.email "${{ secrets.GIT_EMAIL }}"
39- echo "Configured Git user.name: $(git config --global user.name)"
40- echo "Configured Git user.email: $(git config --global user.email)"
4145
4246 - name : Release with release-it
43- run : npx --ignore-existing release-it
47+ run : npx release-it --increment ${{ github.event.inputs.version }}
4448 env :
4549 GIT_AUTHOR_NAME : ${{ secrets.GIT_USER }}
4650 GIT_AUTHOR_EMAIL : ${{ secrets.GIT_EMAIL }}
You can’t perform that action at this time.
0 commit comments