hotfix(release): use app tag for offline dashboard bundle lookup
This commit is contained in:
@@ -58,7 +58,8 @@ jobs:
|
||||
|
||||
toolchain_root="${MAIBOT_NODE_TOOLCHAIN_ROOT:-/srv/gitea-runner-maibot/toolchains/node}"
|
||||
dist_bundle_root="${MAIBOT_PREBUILT_DASHBOARD_ROOT:-/srv/gitea-runner-maibot/prebuilt-dashboard}"
|
||||
dist_bundle="${dist_bundle_root}/${MAIBOT_REPO_SHA}.tar.gz"
|
||||
commit_sha="${APP_TAG:-$(git -C "$MAIBOT_WORKTREE" rev-parse --short=10 HEAD)}"
|
||||
dist_bundle="${dist_bundle_root}/${commit_sha}.tar.gz"
|
||||
|
||||
if [ -d "$toolchain_root/bin" ]; then
|
||||
export PATH="$toolchain_root/bin:$PATH"
|
||||
|
||||
Reference in New Issue
Block a user