File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 run : |
2222 sed -i 's/"version": "[^"]*"/"version": "${{ env.VERSION }}"/' package.json
2323 env :
24- VERSION : $(echo "${{ github.ref }}" | sed -e 's:v\(.*\):\1:'
24+ VERSION : $(echo "${{ github.ref }}" | sed -e 's:v\(.*\):\1:')
2525
2626 # clone warduino
2727 - uses : actions/checkout@v4
4545 sed -i "s|\"latch\": \"file:./latch-[^\"]*\"|\"latch\": \"file:./latch-$VERSION.tgz\"|" package.json
4646 working-directory : ' warduino'
4747 env :
48- VERSION : $(echo "${{ github.ref }}" | sed -e 's:v\(.*\):\1:'
48+ VERSION : $(echo "${{ github.ref }}" | sed -e 's:v\(.*\):\1:')
4949
5050 # commit
5151 - name : Push changes
@@ -58,14 +58,14 @@ jobs:
5858 git push --set-upstream origin bump/latch-$VERSION
5959 working-directory : ' warduino'
6060 env :
61- VERSION : $(echo "${{ github.ref }}" | sed -e 's:v\(.*\):\1:'
61+ VERSION : $(echo "${{ github.ref }}" | sed -e 's:v\(.*\):\1:')
6262
6363 # create pull request
6464 - name : Create Pull Request
6565 run : |
6666 gh pr create --title "⬆️ Bump latch to $VERSION" --body "Bumping latch to \`$VERSION\`" --base main --head bump/latch-$VERSION --label dependencies
6767 working-directory : ' warduino'
6868 env :
69- VERSION : $(echo "${{ github.ref }}" | sed -e 's:v\(.*\):\1:'
69+ VERSION : $(echo "${{ github.ref }}" | sed -e 's:v\(.*\):\1:')
7070 GH_TOKEN : ${{ secrets.WARDUINO_LATCH }}
7171
You can’t perform that action at this time.
0 commit comments