Skip to content

Commit

Permalink
Set dev version to 2.0.0 (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Jun 28, 2024
1 parent 30f7dcc commit 3a1a504
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions get/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.2.0

- Set dev version to 2.0.0

# 1.1.1

- Fix version format for development build
Expand Down
2 changes: 1 addition & 1 deletion get/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Get HACS
version: "1.1.1"
version: "1.2.0"
slug: get
image: "ghcr.io/hacs/{arch}-addon-get"
description: The easiest way to get HACS for Home Assistant
Expand Down
3 changes: 1 addition & 2 deletions get/rootfs/etc/addon/run
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ elif bashio::var.equals "${CHANNEL}" "development"; then
bash ./scripts/install/frontend

bashio::log.info "Injecting a version..."
current_version=$(curl -sSL https://data-v2.hacs.xyz/integration/data.json | jq -r '.["172733314"].last_version')
updated_version="$(echo "${current_version}" | awk -F. -v OFS=. '{$NF += 1 ; print}')-dev-$(git rev-parse --short HEAD)"
updated_version="2.0.0-dev-$(git rev-parse --short HEAD)"
python3 ./scripts/update/manifest.py --version "${updated_version}"
bashio::log.info "Version set to: ${updated_version}"

Expand Down

0 comments on commit 3a1a504

Please sign in to comment.