Trying to figure out RCA #47

Merged
hitanshu merged 1 commits from hitanshu/CFTunnels:tags into test 2025-06-05 20:57:35 +00:00
2 changed files with 4 additions and 2 deletions

View File

@ -6,6 +6,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
@ -29,7 +31,7 @@ jobs:
echo "PATCH=${PATCH}"
- name: Increment version
run: |
source $GITEA_ENV
. $GITEA_ENV
export "PATCH=$((${PATCH} + 1))" >> $GITEA_ENV
export "NEW_VERSION=$(echo ${MAJOR}.${MINOR}.${PATCH})" >> $GITEA_ENV
echo "NEW_VERSION=${NEW_VERSION}"

View File

@ -31,7 +31,7 @@ jobs:
echo "PATCH=${PATCH}"
- name: Increment version
run: |
source $GITEA_ENV
. $GITEA_ENV
export "PATCH=$((${PATCH} + 1))" >> $GITEA_ENV
export "NEW_VERSION=$(echo ${MAJOR}.${MINOR}.${PATCH})" >> $GITEA_ENV
echo "NEW_VERSION=${NEW_VERSION}"