diff --git a/.github/workflows/major.yml b/.github/workflows/major.yml new file mode 100644 index 0000000..f42cd91 --- /dev/null +++ b/.github/workflows/major.yml @@ -0,0 +1,14 @@ +name: Update Major Release Tag + +on: + workflow_dispatch: + push: + tags: + - "v*" + +jobs: + update-majorver: + name: Update Major Release Tag + runs-on: ubuntu-latest + steps: + - uses: nowactions/update-majorver@v1 diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml index c4af9fd..263cce3 100644 --- a/.github/workflows/readme.yml +++ b/.github/workflows/readme.yml @@ -31,12 +31,11 @@ jobs: git switch main || (git fetch --all && git checkout -b main origin/main) . conf/default.release.conf echo "DEFAULT_RELEASE=$DEFAULT_RELEASE" >> $GITHUB_ENV + echo "LATEST_TAG=$(echo ${{ steps.get-latest-release.outputs.tag_name }} | cut -d . -f 1)" >> $GITHUB_ENV echo "ALL_RELEASES=$(ls conf/ | grep -v default | sed 's/.conf//g' | tr '\n' ',' | sed "s/,\$//" | sed 's/,/, /g')" >> $GITHUB_ENV - name: Update the readme.md uses: vmactions/render@v0.0.1 - env: - LATEST_TAG: ${{ steps.get-latest-release.outputs.tag_name }} with: datafile: .github/data/datafile.ini files: | diff --git a/run.sh b/run.sh index bf0ae01..cf84a8a 100644 --- a/run.sh +++ b/run.sh @@ -151,7 +151,7 @@ startVM() { rsyncToVM() { _pwd="$PWD" cd "$_oldPWD" - rsync -auvzrtopg --exclude _actions/vmactions/$osname-vm /Users/runner/work/ $osname:work + rsync -auvzrtopg --exclude _actions --exclude _PipelineMapping --exclude _temp /Users/runner/work/ $osname:work cd "$_pwd" }