Skip to content

Commit d36b7dd

Browse files
authored
[chore] Improve release process (#536)
- Add step to release to add NuGet package to new release
1 parent beabf18 commit d36b7dd

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,16 @@ jobs:
6161
shell: cmd
6262

6363
- name: Build and Sign NuGet package
64-
# TODO: Need to keep signing_cert.snk in the repo
6564
run: |
6665
call scripts\win\build_release_nuget.bat EasyPost EasyPostNETStrongNameSigning.snk "${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }}" Release
6766
shell: cmd
6867

6968
- name: Publish to NuGet
7069
run: make publish key=${{ secrets.NUGET_API_KEY }}
7170

72-
# TODO: Upload artifact to previous release
71+
- name: Upload NuGet package to release
72+
uses: AButler/[email protected]
73+
with:
74+
files: "*.nupkg"
75+
repo-token: ${{ secrets.GITHUB_TOKEN }}
7376

EasyPost.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata>
44
<id>EasyPost-Official</id>
55
<title>EasyPost (Official)</title>
6-
<version>6.0.0.3</version>
6+
<version>6.0.0.4</version>
77
<authors>EasyPost</authors>
88
<owners>EasyPost</owners>
99
<projectUrl>https://www.easypost.com</projectUrl>

EasyPost/Properties/VersionInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
// Version information for an assembly must follow semantic versioning
44
// When releasing a release candidate, append a 4th digit being the number of the release candidate
5-
[assembly: AssemblyVersion("6.0.0.3")]
6-
[assembly: AssemblyFileVersion("6.0.0.3")]
7-
[assembly: AssemblyInformationalVersion("6.0.0.3")]
5+
[assembly: AssemblyVersion("6.0.0.4")]
6+
[assembly: AssemblyFileVersion("6.0.0.4")]
7+
[assembly: AssemblyInformationalVersion("6.0.0.4")]

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ publish:
7676
## release - Cuts a release for the project on GitHub (requires GitHub CLI)
7777
# tag = The associated tag title of the release
7878
release:
79-
gh release create ${tag} *.nupkg
79+
gh release create ${tag}
8080

8181
## restore - Restore the project
8282
restore:

0 commit comments

Comments
 (0)