File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1+ # 1.3.1
2+
3+ - Fix problems with getting the current version for development builds
4+
15# 1.3.0
26
37- Dynamically get the version again
Original file line number Diff line number Diff line change 11name : Get HACS
2- version : " 1.3.0 "
2+ version : " 1.3.1 "
33slug : get
44image : " ghcr.io/hacs/{arch}-addon-get"
55description : The easiest way to get HACS for Home Assistant
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ elif bashio::var.equals "${CHANNEL}" "development"; then
3333 bash ./scripts/install/frontend
3434
3535 bashio::log.info "Injecting a version..."
36- current_tag="$(git describe --tags --abbrev=0)"
36+ current_tag=$(curl -sSL https://data-v2.hacs.xyz/integration/data.json | jq -r '.["172733314"].last_version')
3737 current_commit="$(git rev-parse --short HEAD)"
3838 updated_version="$(echo ${current_tag} | awk -F. -v OFS=. '{$NF += 1 ; print}')-dev-${current_commit}"
3939 python3 ./scripts/update/manifest.py --version "${updated_version}"
You can’t perform that action at this time.
0 commit comments