Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update release workflow to build the reporter before packaging tools #4080

Merged
merged 3 commits into from
Sep 17, 2024

Conversation

pepone
Copy link
Member

@pepone pepone commented Sep 16, 2024

Fix #4079

@pepone pepone changed the base branch from main to 0.4.x September 16, 2024 21:48
env:
SLICEC_CS_STAGING_PATH: ${{ github.workspace }}\tools\slicec-cs\staging
- name: Build IceRPC
run: dotnet build --configuration Release --output .
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to build IceRpc solution before creating the tool packages, otherwise the reporters would be missing in the tools packages.

build.sh Outdated
@@ -89,7 +89,7 @@ publish()
global_packages=$(dotnet nuget locals -l global-packages)
global_packages=${global_packages/global-packages: /""}
run_command rm "-rf" "$global_packages/zeroc.slice/$version" "$global_packages/icerpc/$version" "$global_packages"/icerpc.*/"$version"
run_command dotnet "nuget" "push" "tools/**/$dotnet_config/*.$version.nupkg" "--source" "$global_packages"
run_command dotnet "nuget" "push" "tools/**/$dotnet_config/*.$version*.nupkg" "--source" "$global_packages"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is * missing from the line below, in case we update some src packages, like for example IceRpc.Templates?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Windows script doesn't handle this versions well, need to fix it.

@pepone pepone merged commit 0c2706e into icerpc:0.4.x Sep 17, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix tools packaging
2 participants