Skip to content

Commit

Permalink
Merge pull request #44 from seehase/feature/github_actions
Browse files Browse the repository at this point in the history
fix lable action
  • Loading branch information
seehausen authored Jan 14, 2025
2 parents aa73b35 + f4d4f70 commit 0ef219f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/merge-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: |
echo The PR was merged
git checkout master
HEAD_VERSION=$( grep 'version = 1' skins/neowx-material/skin.conf | cut -d '"' -f 2 )
HEAD_VERSION=$( grep 'version = 1' skins/neowx-material/skin.conf | cut -d '"' -f 2 | xargs echo )
echo "DIST_VERSION=${HEAD_VERSION}" >> $GITHUB_ENV
echo New label: $HEAD_VERSION
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-version-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
- name: Version diff
run: |
# read version from file: ZonPHP/inc/version_info.php of head branch
HEAD_VERSION=$( grep 'version = 1' skins/neowx-material/skin.conf | cut -d '"' -f 2 )
HEAD_VERSION=$( grep 'version = 1' skins/neowx-material/skin.conf | cut -d '"' -f 2 | xargs echo )
echo "HEAD_VERSION --> $HEAD_VERSION"
git checkout master
# read version from file: ZonPHP/inc/version_info.php of master branch
MASTER_VERSION=$( grep 'version = 1' skins/neowx-material/skin.conf | cut -d '"' -f 2 )
MASTER_VERSION=$( grep 'version = 1' skins/neowx-material/skin.conf | cut -d '"' -f 2 | xargs echo )
echo "MASTER_VERSION --> $MASTER_VERSION"
#if [ "$HEAD_VERSION" \> "$MASTER_VERSION" ]; then
if [ "$(printf '%s\n' "$HEAD_VERSION" "$MASTER_VERSION" | sort -V | head -n 1)" != "$HEAD_VERSION" ]; then
Expand Down
2 changes: 1 addition & 1 deletion skins/neowx-material/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "neowx-material",
"version": "1.35.2",
"version": "1.35.3",
"description": "The most versatile and modern weewx skin",
"main": "index.js",
"repository": "https://github.com/neoground/neowx-material",
Expand Down
2 changes: 1 addition & 1 deletion skins/neowx-material/skin.conf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
# This is the current version of this skin.
# You can check for updates on the project page.
#
version = 1.35.2
version = 1.35.3

# Language
# -------------------------------------------------------------------------
Expand Down

0 comments on commit 0ef219f

Please sign in to comment.