Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
anasfanani committed Jan 22, 2024
1 parent 7ff7749 commit c3c52ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
- name: Check current version is up to date
id: check_version
run: |
NEW_TAG=$(echo '${{ steps.get_latest_release.outputs.data }}' | jq -r '.tag_name')
VERSION=$(echo '${{ steps.get_latest_release.outputs.data }}' | jq -r '.name')
NEW_TAG="${{ fromJSON(steps.get_latest_release.outputs.data).tag_name }}"
VERSION="${{ fromJSON(steps.get_latest_release.outputs.data).name }}"
CURRENT_TAG=$(curl -s https://raw.githubusercontent.com/anasfanani/Magisk-Tailscaled/master/files/VERSION.txt)
if [[ "$NEW_TAG" == "$CURRENT_TAG" && "${{ github.event.inputs.force }}" != 'true' ]]; then
echo "Current version is up to date"
Expand Down

0 comments on commit c3c52ad

Please sign in to comment.