We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 854f5f6 commit 06c0ed5Copy full SHA for 06c0ed5
scripts/update-version.sh
@@ -3,15 +3,10 @@
3
versionNumber=${1:?Version number is required as first argument}
4
branchName=${2:-master}
5
6
-if [ "${GITHUB_ACTIONS:-}" = "true" ]; then
7
- git config --global user.name "GitHub Actions"
8
- git config --global user.email "[email protected]"
9
-fi
10
-
11
git checkout "$branchName"
12
13
for file in xero*.yaml; do
14
- yq eval --no-colors --prettyPrint ".info.version = \"$versionNumber\"" -i "$file"
+ yq -i ".info.version = \"$versionNumber\"" -i "$file"
15
echo "updated version in $file to $versionNumber"
16
done
17
0 commit comments