Skip to content

Commit a8fcf32

Browse files
ci: temporary tweak to bump major versions on release (#109)
* temp set to increment major version for doing the DVC->DevCycle refactor release * disable the release portion
1 parent a4f314d commit a8fcf32

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ jobs:
4646
version: ${{ steps.local-version.outputs.version }}
4747
- name: Replace the versions for all SDKs
4848
run: |
49-
sed -E -i "s|<(.*)Version>[0-9]+\.[0-9]+\.[0-9]|<\1Version>${{ steps.semverbump-cloud.outputs.minor }}|g" DevCycle.SDK.Server.Cloud/DevCycle.SDK.Server.Cloud.csproj
50-
sed -E -i "s|<(.*)Version>[0-9]+\.[0-9]+\.[0-9]|<\1Version>${{ steps.semverbump-common.outputs.minor }}|g" DevCycle.SDK.Server.Common/DevCycle.SDK.Server.Common.csproj
51-
sed -E -i "s|<(.*)Version>[0-9]+\.[0-9]+\.[0-9]|<\1Version>${{ steps.semverbump-local.outputs.minor }}|g" DevCycle.SDK.Server.Local/DevCycle.SDK.Server.Local.csproj
49+
sed -E -i "s|<(.*)Version>[0-9]+\.[0-9]+\.[0-9]|<\1Version>${{ steps.semverbump-cloud.outputs.major }}|g" DevCycle.SDK.Server.Cloud/DevCycle.SDK.Server.Cloud.csproj
50+
sed -E -i "s|<(.*)Version>[0-9]+\.[0-9]+\.[0-9]|<\1Version>${{ steps.semverbump-common.outputs.major }}|g" DevCycle.SDK.Server.Common/DevCycle.SDK.Server.Common.csproj
51+
sed -E -i "s|<(.*)Version>[0-9]+\.[0-9]+\.[0-9]|<\1Version>${{ steps.semverbump-local.outputs.major }}|g" DevCycle.SDK.Server.Local/DevCycle.SDK.Server.Local.csproj
5252
git add .
5353
git commit -m "Version Bumping"
5454
git push -u origin main
@@ -60,7 +60,8 @@ jobs:
6060
run: dotnet nuget push DevCycle.SDK.Server.Cloud/bin/Release/DevCycle.SDK.Server.Cloud.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
6161
- name: Publish Common to NuGet
6262
run: dotnet nuget push DevCycle.SDK.Server.Common/bin/Release/DevCycle.SDK.Server.Common.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
63-
- name: Create GitHub Release
64-
uses: DevCycleHQ/release-action/gh-release@v2
65-
with:
66-
github-token: ${{ secrets.GITHUB_TOKEN }}
63+
# Release action doesn't work right now for this repo due to the multiple different project versions
64+
# - name: Create GitHub Release
65+
# uses: DevCycleHQ/release-action/gh-release@v2
66+
# with:
67+
# github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)