Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
fix: update version ci
Minh1411205c6323e5b197
diff --git a/.github/workflows/template-get-update-version.yml b/.github/workflows/template-get-update-version.ymlindex 2b5860782..24ec7db92 100644--- a/.github/workflows/template-get-update-version.yml+++ b/.github/workflows/template-get-update-version.yml@@ -22,6 +22,8 @@ jobs:- name: Update app version based on latest release tag with build numberid: version_update+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}run: |# Function to get the latest release tagget_latest_tag() {@@ -29,7 +31,7 @@ jobs:local max_retries=3local tagwhile [ $retries -lt $max_retries ]; do- tag=$(curl -s https://api.github.com/repos/janhq/jan/releases/latest | jq -r .tag_name)+ tag=$(curl -H "Authorization: token ${GITHUB_TOKEN}" -s https://api.github.com/repos/janhq/jan/releases/latest | jq -r .tag_name)if [ -n "$tag" ] && [ "$tag" != "null" ]; thenecho $tagreturn