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

UID2-2329 Add workflow to release packages #29

Merged
merged 11 commits into from
Mar 8, 2024

Conversation

cYKatherine
Copy link
Contributor

@cYKatherine cYKatherine commented Mar 6, 2024

@cYKatherine cYKatherine self-assigned this Mar 6, 2024
@cYKatherine cYKatherine force-pushed the kcc-UID2-2329-add-dotnet-pipeline branch 2 times, most recently from 3e5a74c to bd53aa3 Compare March 6, 2024 05:06
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@cYKatherine cYKatherine force-pushed the kcc-UID2-2329-add-dotnet-pipeline branch from bd53aa3 to bd8799b Compare March 6, 2024 05:17
jobs:
build-and-pubish:
name: Build and publish JAR packages to Maven repository
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-to-nuget-versioned.yaml@kcc-UID2-2329-add-dotnet-pipeline
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will revert this after IABTechLab/uid2-shared-actions#79 is merged

@cYKatherine cYKatherine force-pushed the kcc-UID2-2329-add-dotnet-pipeline branch from f974622 to c7384be Compare March 7, 2024 03:22
@cYKatherine cYKatherine force-pushed the kcc-UID2-2329-add-dotnet-pipeline branch from ff19b28 to 3961757 Compare March 7, 2024 04:22
@cYKatherine cYKatherine force-pushed the kcc-UID2-2329-add-dotnet-pipeline branch from 3caa95c to 41decfe Compare March 7, 2024 04:34
@cYKatherine cYKatherine force-pushed the kcc-UID2-2329-add-dotnet-pipeline branch from 011afc5 to 8e9ffe7 Compare March 7, 2024 04:50
@@ -134,7 +134,7 @@ public async Task<RefreshResponse> RefreshAsync(CancellationToken token)

private string GetAssemblyNameAndVersion()
{
var version = "5.4.0";
var version = "5.4.7";
Copy link
Contributor Author

@cYKatherine cYKatherine Mar 7, 2024

Choose a reason for hiding this comment

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

This will need to be incremented some how @jon8787 along with f8be410

Copy link
Contributor

Choose a reason for hiding this comment

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

probably change it to 5.4.9 to be in sync with nuspec file at least first

Copy link
Contributor

Choose a reason for hiding this comment

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

won't it become out of sync as soon as we release?

Copy link
Contributor

Choose a reason for hiding this comment

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

right, so the release pipeline increments the version after the pipeline has been kickstarted and before starting to build a new binary and push it to nuget.org, so before we are ready to release, we have to set the version on this line to the next version that we want (the github action pipeline) to release in advance? @cYKatherine ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This conversation has became huge and @jon8787 and I agreed to address this in a separate ticket: https://atlassian.thetradedesk.com/jira/browse/UID2-2964

atm let's keep it manual to update the version here 😢

default: true
dotnet_version:
type: string
default: 5.0
Copy link
Contributor

Choose a reason for hiding this comment

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

is this just for dot net version for running to build the binary or does this correspond to some setting in the c# SDK repo?

Copy link
Contributor

Choose a reason for hiding this comment

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

or i just would like to know when should we modify this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

At the moment this is used to build/package/test dotnet.

When we bump the version in the code, we can change this in the action interface.

@cYKatherine cYKatherine force-pushed the kcc-UID2-2329-add-dotnet-pipeline branch from f2c7a4b to 3b7edc4 Compare March 8, 2024 06:41
@cYKatherine cYKatherine merged commit 7645c78 into main Mar 8, 2024
@cYKatherine cYKatherine deleted the kcc-UID2-2329-add-dotnet-pipeline branch March 8, 2024 06:59
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.

4 participants