File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set_version_script="$script_dir/set-version-UnitsNet.Serialization.JsonNet.ps1"
55
66names=(major minor patch suffix);
77if [[ " " ${names[@]} " " == * " " $1 " " * ]] ; then
8- powershell -NoProfile $set_version_script -bump $1
8+ pwsh -NoProfile $set_version_script -bump $1
99 exit 0
1010else
1111 echo " Usage: ./bump-version-json.sh <major|minor|patch|suffix>"
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set_version_script="$script_dir/set-version-UnitsNet.ps1"
55
66names=(major minor patch suffix);
77if [[ " " ${names[@]} " " == * " " $1 " " * ]] ; then
8- powershell -NoProfile $set_version_script -bump $1
8+ pwsh -NoProfile $set_version_script -bump $1
99 exit 0
1010else
1111 echo " Usage: ./bump-version.sh <major|minor|patch|suffix>"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
44set_version_script=" $script_dir /set-version-UnitsNet.Serialization.JsonNet.ps1"
55
66if [ $# -eq 1 ]; then
7- powershell -NoProfile $set_version_script -setVersion $1
7+ pwsh -NoProfile $set_version_script -setVersion $1
88 exit 0
99else
1010 echo " Usage: ./set-version-json.sh <version>"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
44set_version_script=" $script_dir /set-version-UnitsNet.ps1"
55
66if [ $# -eq 1 ]; then
7- powershell -NoProfile $set_version_script -setVersion $1
7+ pwsh -NoProfile $set_version_script -setVersion $1
88 exit 0
99else
1010 echo " Usage: ./set-version.sh <version>"
You can’t perform that action at this time.
0 commit comments