Skip to content

Commit 06c0ed5

Browse files
ci: Don't change git user and don't format
1 parent 854f5f6 commit 06c0ed5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

scripts/update-version.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,10 @@
33
versionNumber=${1:?Version number is required as first argument}
44
branchName=${2:-master}
55

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-
116
git checkout "$branchName"
127

138
for file in xero*.yaml; do
14-
yq eval --no-colors --prettyPrint ".info.version = \"$versionNumber\"" -i "$file"
9+
yq -i ".info.version = \"$versionNumber\"" -i "$file"
1510
echo "updated version in $file to $versionNumber"
1611
done
1712

0 commit comments

Comments
 (0)