File tree 2 files changed +8
-7
lines changed
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ jobs:
15
15
with :
16
16
dotnet-version : " 8.x"
17
17
- run : dotnet restore
18
- - run : chmod +x version_bump .sh
19
- working-directory : src/CloudflareDnsync.Cli
20
- - run : ./version_bump .sh ${{ github.event.release.tag_name }}
21
- working-directory : src/CloudflareDnsync.Cli
18
+ - run : chmod +x bump-version .sh
19
+ working-directory : scripts
20
+ - run : ./bump-version .sh ${{ github.event.release.tag_name }}
21
+ working-directory : scripts
22
22
- run : dotnet pack -c Release /p:PackageVersion=${{ github.event.release.tag_name }}
23
23
working-directory : src/CloudflareDnsync.Cli
24
24
- run : dotnet nuget push ./nupkg/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_PUBLISH_KEY }}
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /bin/sh
2
2
3
3
VERSION=$1
4
+
4
5
if [[ " $OSTYPE " == " darwin" * ]]; then
5
- sed -i " " " s/<Version>.*<\/Version>/<Version>$VERSION <\/Version>/" CloudflareDnsync.Cli.csproj
6
+ sed -i " " " s/<Version>.*<\/Version>/<Version>$VERSION <\/Version>/" ../src/CloudflareDnsync.Cli/ CloudflareDnsync.Cli.csproj
6
7
else
7
- sed -i " s/<Version>.*<\/Version>/<Version>$VERSION <\/Version>/" CloudflareDnsync.Cli.csproj
8
+ sed -i " s/<Version>.*<\/Version>/<Version>$VERSION <\/Version>/" ../src/CloudflareDnsync.Cli/ CloudflareDnsync.Cli.csproj
8
9
fi
You can’t perform that action at this time.
0 commit comments