Skip to content

Commit

Permalink
New HomeSetup revision: v'1.7.27' >> No commits
Browse files Browse the repository at this point in the history
  • Loading branch information
yorevs committed Nov 6, 2024
1 parent e31d42e commit 758212b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.26
1.7.27
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Terminal](https://badgen.net/badge/icon/terminal?icon=terminal&label)](https://github.com/yorevs/homesetup)
[![License](https://badgen.net/badge/license/MIT/gray)](LICENSE.md)
[![Release](https://badgen.net/badge/release/v1.7.26/gray)](docs/CHANGELOG.md#unreleased)
[![Release](https://badgen.net/badge/release/v1.7.27/gray)](docs/CHANGELOG.md#unreleased)
[![Gitter](https://badgen.net/badge/icon/gitter?icon=gitter&label)](https://gitter.im/yorevs-homesetup/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Donate](https://badgen.net/badge/paypal/donate/yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=J5CDEFLF6M3H4)
[![Build](https://github.com/yorevs/homesetup/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/yorevs/homesetup/actions/workflows/build-and-test.yml)
Expand Down
2 changes: 1 addition & 1 deletion bumpver.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpver]
current_version = "1.7.26"
current_version = "1.7.27"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "++version {old_version} -> {new_version}"
commit = false
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
app_version = '1.7.26'
app_version = '1.7.27'
app_name = 'HomeSetup'
bashVersion = '3.2.57'
4 changes: 2 additions & 2 deletions install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -870,8 +870,8 @@ usage: $APP_NAME [OPTIONS] <args>
# Check if the homesetup.toml is outdated
user_version=$(grep -o '^# @version: v[0-9]*\.[0-9]*\.[0-9]*' "${HHS_DIR}/.homesetup.toml" | sed 's/# @version: v//')
hhs_version=$(grep -o '^# @version: v[0-9]*\.[0-9]*\.[0-9]*' "${HHS_HOME}/dotfiles/homesetup.toml" | sed 's/# @version: v//')
user_num=$(echo "${user_version}" | awk -F. '{ printf "%d%02d%02d", $1, $2, $3 }')
hhs_num=$(echo "${hhs_version}" | awk -F. '{ printf "%d%02d%02d", $1, $2, $3 }')
user_num=$(echo "${user_version}" | awk -F. '{ printf "%d%02d%03d", $1, $2, $3 }')
hhs_num=$(echo "${hhs_version}" | awk -F. '{ printf "%d%02d%03d", $1, $2, $3 }')
if [[ "${hhs_num}" -gt "${user_num}" ]]; then
\mv -f "$HHS_DIR/.homesetup.toml" "${HHS_BACKUP_DIR}/homesetup-${TIMESTAMP}.toml.bak"
copy_file "${HHS_HOME}/dotfiles/homesetup.toml" "${HHS_DIR}/.homesetup.toml"
Expand Down

0 comments on commit 758212b

Please sign in to comment.