Skip to content

Commit

Permalink
System Monitoring Center: updater obtain latest v1 release branch ver…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
theofficialgman committed Aug 16, 2023
1 parent 5953964 commit 8344b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/updates/System Monitoring Center.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
webVer=$(get_release hakandundar34coding/system-monitoring-center | sed 's/[^0-9.]*//g')
webVer=$(curl -s --header "Authorization: token ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}" "https://api.github.com/repos/hakandundar34coding/system-monitoring-center/releases" | jq -r 'map(select(.prerelease==false)) | map(select(.draft==false)) | map(select(.tag_name | startswith("v1."))) | first | .tag_name' | sed s/^v//g)
all_url="https://github.com/hakandundar34coding/system-monitoring-center/releases/download/v${webVer}/system-monitoring-center_${webVer}_all.deb"

source $GITHUB_WORKSPACE/.github/workflows/update_github_script.sh

0 comments on commit 8344b2d

Please sign in to comment.