Skip to content

Commit

Permalink
Test new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevhen Hrytsai committed May 16, 2024
1 parent 0271472 commit 8d58e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/build/get-plugin-major-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ case $version_type in
esac

SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
pl_version=$(cat "$SCRIPT_DIR/../$pl_path" | grep -oE -m 1 $version_pattern | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
pl_version=$(cat "$SCRIPT_DIR/../../$pl_path" | grep -oE -m 1 $version_pattern | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
echo "${pl_version%.*.*}"

0 comments on commit 8d58e9f

Please sign in to comment.