Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct type vmtools-salt.sh for svtminion.sh, and similar for ps1 #17

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
fi

update-main:
name: Update CHANGELOG.md and vmtools svtminion.sh svtminion.ps1
name: Update CHANGELOG.md and linux/svtminion.sh windows/svtminion.ps1
runs-on: ubuntu-latest
permissions:
contents: write # To be able to publish the release
Expand Down Expand Up @@ -161,10 +161,10 @@ jobs:
## run: |
## git tag --no-sign -m "Release ${{ needs.update-develop.outputs.release-version }}" -a ${{ needs.update-develop.outputs.release-version }}

## ## - name: Update vmtools-salt.sh sha256sum's
## ## - name: Update svtminion.sh sha256sum's
## ## run: |
## ## sha256sum vmtools-salt.sh | awk '{ print $1 }' > vmtools-salt.sh.sha256
## ## sha256sum vmtools-salt.ps1 | awk '{ print $1 }' > vmtools-salt.ps1.sha256
## ## sha256sum svtminion.sh | awk '{ print $1 }' > svtminion.sh.sha256
## ## sha256sum svtminion.ps1 | awk '{ print $1 }' > svtminion.ps1.sha256
## ## git commit -a -m "Update sha256 checksums" || git commit -a -m "Update sha256 checksums"

## ## - name: Push Changes
Expand Down Expand Up @@ -252,10 +252,10 @@ jobs:
repository: ${{ github.repository }}
## ssh-key: ${{ secrets.SALT_VMTOOLS_RELEASE_KEY }}

- name: Get vmtools-salt.sh on main branch sha256sum
- name: Get linux/svtminion.sh on main branch sha256sum
run: |
echo "SH=$(sha256sum linux/vmtools-salt.sh | awk '{ print $1 }')" >> "$GITHUB_ENV"
echo "VMTS_VERSION=$(sh linux/vmtools-salt.sh --version | awk '{ print $4 }')" >> "$GITHUB_ENV"
echo "SH=$(sha256sum linux/svtminion.sh | awk '{ print $1 }')" >> "$GITHUB_ENV"
echo "VMTS_VERSION=$(sh linux/svtminion.sh --version | awk '{ print $4 }')" >> "$GITHUB_ENV"
echo "DGM SH ,${SH}, and VMTS_VERSION ,${VMTS_VERSION},"

- uses: actions/checkout@v4
Expand Down Expand Up @@ -294,7 +294,7 @@ jobs:
branch: main
repository: ${{ github.repository }}

- name: Update vmtools-salt.sh sha256sum's
- name: Update linux/svtminion.sh sha256sum's
run: |
sha256sum linux/svtminion.sh | awk '{ print $1 }' > svtminion.sh.sha256
sha256sum windows/svtminion.ps1 | awk '{ print $1 }' > svtminion.ps1.sha256
Expand Down
Loading