mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-03 10:12:33 +00:00
fix: remove erreneous rocket emoji in run-name
This commit is contained in:
parent
b7e4797e8b
commit
d5ca77e065
8
.github/workflows/_release.yml
vendored
8
.github/workflows/_release.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
name: '🚀 Package Release'
|
name: '🚀 Package Release'
|
||||||
run-name: '🚀 Release ${{ inputs.working-directory }} by @${{ github.actor }}'
|
run-name: 'Release ${{ inputs.working-directory }} by @${{ github.actor }}'
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
@ -111,7 +111,7 @@ jobs:
|
|||||||
# Look for the latest release of the same base version
|
# Look for the latest release of the same base version
|
||||||
REGEX="^$PKG_NAME==$BASE_VERSION\$"
|
REGEX="^$PKG_NAME==$BASE_VERSION\$"
|
||||||
PREV_TAG=$(git tag --sort=-creatordate | (grep -P "$REGEX" || true) | head -1)
|
PREV_TAG=$(git tag --sort=-creatordate | (grep -P "$REGEX" || true) | head -1)
|
||||||
|
|
||||||
# If no exact base version match, look for the latest release of any kind
|
# If no exact base version match, look for the latest release of any kind
|
||||||
if [ -z "$PREV_TAG" ]; then
|
if [ -z "$PREV_TAG" ]; then
|
||||||
REGEX="^$PKG_NAME==\\d+\\.\\d+\\.\\d+\$"
|
REGEX="^$PKG_NAME==\\d+\\.\\d+\\.\\d+\$"
|
||||||
@ -122,7 +122,7 @@ jobs:
|
|||||||
PREV_TAG="$PKG_NAME==${VERSION%.*}.$(( ${VERSION##*.} - 1 ))"; [[ "${VERSION##*.}" -eq 0 ]] && PREV_TAG=""
|
PREV_TAG="$PKG_NAME==${VERSION%.*}.$(( ${VERSION##*.} - 1 ))"; [[ "${VERSION##*.}" -eq 0 ]] && PREV_TAG=""
|
||||||
|
|
||||||
# backup case if releasing e.g. 0.3.0, looks up last release
|
# backup case if releasing e.g. 0.3.0, looks up last release
|
||||||
# note if last release (chronologically) was e.g. 0.1.47 it will get
|
# note if last release (chronologically) was e.g. 0.1.47 it will get
|
||||||
# that instead of the last 0.2 release
|
# that instead of the last 0.2 release
|
||||||
if [ -z "$PREV_TAG" ]; then
|
if [ -z "$PREV_TAG" ]; then
|
||||||
REGEX="^$PKG_NAME==\\d+\\.\\d+\\.\\d+\$"
|
REGEX="^$PKG_NAME==\\d+\\.\\d+\\.\\d+\$"
|
||||||
@ -484,7 +484,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: dist
|
name: dist
|
||||||
path: ${{ inputs.working-directory }}/dist/
|
path: ${{ inputs.working-directory }}/dist/
|
||||||
|
|
||||||
- name: Create Tag
|
- name: Create Tag
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user