Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Neilpang committed Jul 28, 2022
1 parent a69a803 commit c857cf1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/major.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 1 addition & 2 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit c857cf1

Please sign in to comment.