forked from Hithomelabs/CFTunnels
Trying to figure out RCA
This commit is contained in:
parent
0bc90d5d77
commit
4afeb9f6b2
@ -22,14 +22,14 @@ jobs:
|
|||||||
run: echo $(which cut)
|
run: echo $(which cut)
|
||||||
- name: Get latest tag
|
- name: Get latest tag
|
||||||
run: |
|
run: |
|
||||||
export "VERSION=$(git describe --tags --abbrev=0)" >> $GITEA_OUTPUT
|
export "VERSION=$(git describe --tags --abbrev=0)"
|
||||||
echo "${GITEA_OUTPUT}"
|
echo "${VERSION}"
|
||||||
export "MAJOR=$(echo ${VERSION} | /usr/bin/cut -d "." -f 1)"
|
export "MAJOR=$(echo ${VERSION} | /usr/bin/cut -d "." -f 1)"
|
||||||
echo "${MAJOR}"
|
echo "${MAJOR}"
|
||||||
export "MINOR=$(echo ${VERSION} | cut -d "." -f 2)"
|
export "MINOR=$(echo ${VERSION} | cut -d "." -f 2)"
|
||||||
echo "${MINOR}"
|
echo "${MINOR}"
|
||||||
export "PATCH=$(echo ${VERSION} | cut -d "." -f 3)"
|
export "PATCH=$(echo ${VERSION} | cut -d "." -f 3)"
|
||||||
echo "${PATCH}
|
echo "${PATCH}"
|
||||||
- name: Increment version
|
- name: Increment version
|
||||||
run: |
|
run: |
|
||||||
PATCH=$((PATCH + 1))
|
PATCH=$((PATCH + 1))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user