File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 2222 - name : Put version in environment
2323 id : bump
2424 run : |
25- # from refs/tags/v1.2.3 get 1.2.3
26- VERSION=$(echo $GITHUB_REF | sed 's#.*/v## ')
25+ # from ' refs/tags/v1.2.3' get 1.2.3
26+ VERSION=$(echo $GITHUB_REF | sed 's|refs/tags/|| ')
2727 echo "version=$VERSION" >> $GITHUB_OUTPUT
2828 shell : bash
2929 - name : Build and publish
3535 twine upload dist/*
3636 - name : Autobump plugin version
3737 run : |
38- # from refs/tags/v1.2.3 get 1.2.3
39- VERSION=$(echo $GITHUB_REF | sed 's#.*/v## ')
38+ # from ' refs/tags/v1.2.3' get 1.2.3
39+ VERSION=$(echo $GITHUB_REF | sed 's|refs/tags/|| ')
4040 VERSION=$VERSION make -C plugins update_all_versions
4141 shell : bash
4242 - name : Build all Plugins and publish
4949 - name : Sleep until pypi is available
5050 id : pypiwait
5151 run : |
52- # from refs/tags/v1.2.3 get 1.2.3 and make sure it's not an empty string
53- VERSION=$(echo $GITHUB_REF | sed 's#.*/v## ')
52+ # from ' refs/tags/v1.2.3 get 1.2.3' and make sure it's not an empty string
53+ VERSION=$(echo $GITHUB_REF | sed 's|refs/tags/|| ')
5454 if [ -z "$VERSION" ]
5555 then
5656 echo "No tagged version found, exiting"
You can’t perform that action at this time.
0 commit comments