Skip to content

Update starting of the cluster. #8

Update starting of the cluster.

Update starting of the cluster. #8

Workflow file for this run

name: Simplecontainer client CI/CD
on:
push:
branches:
- main
paths-ignore:
- 'README.md'
- 'scripts/**'
- 'LICENSE'
- '.github/resources/**'
- '.gitignore'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.BOT_USER_PAT }}
show-progress: false
- name: Tag for the release process
run: |
increment_version() {
local delimiter=.
local array=($(echo "$1" | tr $delimiter '\n'))
array[$2]=$((array[$2]+1))
echo $(local IFS=$delimiter ; echo "${array[*]}")
}
VERSION=$(cat version | sed s/v//)
NEW_VERSION=v$(increment_version $VERSION 2)
git tag $NEW_VERSION
git push origin tag $NEW_VERSION