|
|
@ -33,7 +33,7 @@ jobs: |
|
|
|
# Get current PR number |
|
|
|
# Get current PR number |
|
|
|
PR_NUMBER=${{github.event.number}} |
|
|
|
PR_NUMBER=${{github.event.number}} |
|
|
|
# Get current version |
|
|
|
# Get current version |
|
|
|
CURRENT_VERSION=$(curl -fs https://docs.nocodb.com/releases | grep article | grep div | grep h2 | grep 'id\="[^"]*' -o | cut -c 5- | cut -d\: -f1) |
|
|
|
CURRENT_VERSION=$(cat ./packages/nocodb/package.json | jq -r ".version") |
|
|
|
# Construct tag name |
|
|
|
# Construct tag name |
|
|
|
TAG_NAME=pr-${PR_NUMBER}-${CURRENT_DATE}-${CURRENT_TIME} |
|
|
|
TAG_NAME=pr-${PR_NUMBER}-${CURRENT_DATE}-${CURRENT_TIME} |
|
|
|
echo "TARGET_TAG=${TAG_NAME}" >> $GITHUB_OUTPUT |
|
|
|
echo "TARGET_TAG=${TAG_NAME}" >> $GITHUB_OUTPUT |
|
|
|