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"
5
5
6
6
names=(major minor patch suffix);
7
7
if [[ " " ${names[@]} " " == * " " $1 " " * ]] ; then
8
- powershell -NoProfile $set_version_script -bump $1
8
+ pwsh -NoProfile $set_version_script -bump $1
9
9
exit 0
10
10
else
11
11
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"
5
5
6
6
names=(major minor patch suffix);
7
7
if [[ " " ${names[@]} " " == * " " $1 " " * ]] ; then
8
- powershell -NoProfile $set_version_script -bump $1
8
+ pwsh -NoProfile $set_version_script -bump $1
9
9
exit 0
10
10
else
11
11
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)"
4
4
set_version_script=" $script_dir /set-version-UnitsNet.Serialization.JsonNet.ps1"
5
5
6
6
if [ $# -eq 1 ]; then
7
- powershell -NoProfile $set_version_script -setVersion $1
7
+ pwsh -NoProfile $set_version_script -setVersion $1
8
8
exit 0
9
9
else
10
10
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)"
4
4
set_version_script=" $script_dir /set-version-UnitsNet.ps1"
5
5
6
6
if [ $# -eq 1 ]; then
7
- powershell -NoProfile $set_version_script -setVersion $1
7
+ pwsh -NoProfile $set_version_script -setVersion $1
8
8
exit 0
9
9
else
10
10
echo " Usage: ./set-version.sh <version>"
You can’t perform that action at this time.
0 commit comments