Skip to content

Commit 5690d9f

Browse files
dev: update publish sdk script (#220)
1 parent 226f246 commit 5690d9f

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

.github/scripts/publish.sh

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,9 @@ git push --tags && git push
4646
CHANGELOG="$CHANGELOG
4747
4848
Full Changelog: [$LAST_TAG...$TAG](https://github.com/ydb-platform/ydb-dotnet-sdk/compare/$LAST_TAG...$TAG)"
49-
if [ "$RELEASE_CANDIDATE" = true ]
50-
then
51-
gh release create -d $TAG -t "$TAG" --notes "$CHANGELOG"
52-
else
53-
VERSION=$MAJOR.$MINOR.$PATCH
54-
cd src
55-
dotnet pack -c Release -o out /p:Version=$VERSION
56-
gh release create $TAG -t "$TAG" --notes "$CHANGELOG"
57-
dotnet nuget push out/Ydb.Sdk.$VERSION.nupkg --skip-duplicate --api-key $NUGET_TOKEN --source https://api.nuget.org/v3/index.json
58-
fi;
49+
50+
VERSION=$TAG
51+
cd src
52+
dotnet pack -c Release -o out /p:Version=$VERSION
53+
gh release create $TAG -t "$TAG" --notes "$CHANGELOG"
54+
dotnet nuget push out/Ydb.Sdk.$VERSION.nupkg --skip-duplicate --api-key $NUGET_TOKEN --source https://api.nuget.org/v3/index.json

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
- Topic Writer release candidate
2+
- Fixed: grpc requests go via proxy on Grpc.NET.Client >= 2.44
3+
14
## v0.8.0
25
- Fixed bug on commit with fail, no set failed flag for rollback invocation
36
- Supported UUID (Guid)

0 commit comments

Comments
 (0)