File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11name : ' 🚀 Package Release'
2- run-name : ' 🚀 Release ${{ inputs.working-directory }} by @${{ github.actor }}'
2+ run-name : ' Release ${{ inputs.working-directory }} by @${{ github.actor }}'
33on :
44 workflow_call :
55 inputs :
@@ -111,7 +111,7 @@ jobs:
111111 # Look for the latest release of the same base version
112112 REGEX="^$PKG_NAME==$BASE_VERSION\$"
113113 PREV_TAG=$(git tag --sort=-creatordate | (grep -P "$REGEX" || true) | head -1)
114-
114+
115115 # If no exact base version match, look for the latest release of any kind
116116 if [ -z "$PREV_TAG" ]; then
117117 REGEX="^$PKG_NAME==\\d+\\.\\d+\\.\\d+\$"
@@ -122,7 +122,7 @@ jobs:
122122 PREV_TAG="$PKG_NAME==${VERSION%.*}.$(( ${VERSION##*.} - 1 ))"; [[ "${VERSION##*.}" -eq 0 ]] && PREV_TAG=""
123123
124124 # backup case if releasing e.g. 0.3.0, looks up last release
125- # note if last release (chronologically) was e.g. 0.1.47 it will get
125+ # note if last release (chronologically) was e.g. 0.1.47 it will get
126126 # that instead of the last 0.2 release
127127 if [ -z "$PREV_TAG" ]; then
128128 REGEX="^$PKG_NAME==\\d+\\.\\d+\\.\\d+\$"
@@ -484,7 +484,7 @@ jobs:
484484 with :
485485 name : dist
486486 path : ${{ inputs.working-directory }}/dist/
487-
487+
488488 - name : Create Tag
489489 uses : ncipollo/release-action@v1
490490 with :
You can’t perform that action at this time.
0 commit comments