Skip to content

Commit

Permalink
Remove beta tag for v2.3.0, now on .NET 8
Browse files Browse the repository at this point in the history
release version.
  • Loading branch information
highbyte committed Nov 14, 2023
1 parent 4c9a6aa commit f378049
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
14 changes: 7 additions & 7 deletions BUILD_RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

_TODO: This workflow should be improved_

- Clone the GitHub repository locally
- Create new Git branch (feature/name-of-feature)
- Clone the GitHub repository locally.
- Create new Git branch (feature/name-of-feature).
- Decide what the new full version number should be. If it's a pre-release, use -beta suffix in version number.
- Build and push docker image
- Authenticate to ghcr.io using [these instructions](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-to-the-container-registry)
- `docker build -t ghcr.io/highbyte/sonarscan-dotnet:v1.0.0 .` where v1.0.0 is the full version number.
- `docker push ghcr.io/highbyte/sonarscan-dotnet:v1.0.0` where v1.0.0 is the full version number.
- Update `action.yml` to point to the new docker tag version,
- Update `README.md` instructions to the new version,
- Update `action.yml` to point to the new docker tag version.
- Update `README.md` instructions to the new version.
- Push new branch from local repository to GitHub.
- Create [GitHub release](https://github.com/highbyte/sonarscan-dotnet/releases) with the full version number.
- If pre-rerelease (beta), check the Pre-release box.
- Check the box to release it to the GitHub Marketplace.
- Publish the release
- Verify the release from a workflow in another repo using the new version
- If the version is not a pre-release, create a GitHub PR to merge the new branch to master
- Publish the release.
- Verify the release from a workflow in another repo using the new version.
- If the version is not a pre-release, create a GitHub PR to merge the new branch to master.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
SonarScanner for .NET for use in Github Actions, with automatic pull request detection, analysis and decoration.

The current version supports .NET 8
- For .NET 7, use version [2.2.6](https://github.com/marketplace/actions/sonarscan-dotnet?version=v2.2.6)
- For .NET 6, use version [2.1.5](https://github.com/marketplace/actions/sonarscan-dotnet?version=v2.1.5)
- For .NET 5, use version [2.0](https://github.com/marketplace/actions/sonarscan-dotnet?version=2.0)
- For .NET Core 3.1, use version [1.0.2](https://github.com/marketplace/actions/sonarscan-dotnet?version=1.0.2)
Expand All @@ -16,7 +17,7 @@ The current version supports .NET 8

``` yaml
- name: SonarScanner for .NET 8 with pull request decoration support
uses: highbyte/[email protected]-beta
uses: highbyte/[email protected]
with:
# The key of the SonarQube project
sonarProjectKey: your_projectkey
Expand All @@ -35,7 +36,7 @@ Also includes test results.
``` yaml
- name: SonarScanner for .NET 8 with pull request decoration support
uses: highbyte/[email protected]-beta
uses: highbyte/[email protected]
with:
# The key of the SonarQube project
sonarProjectKey: your_projectkey
Expand All @@ -58,7 +59,7 @@ Also includes test results.
``` yaml
- name: SonarScanner for .NET 8 with pull request decoration support
uses: highbyte/[email protected]-beta
uses: highbyte/[email protected]
with:
# The key of the SonarQube project
sonarProjectKey: your_projectkey
Expand All @@ -82,7 +83,7 @@ Also includes test results.
``` yaml
- name: SonarScanner for .NET 8 with pull request decoration support
uses: highbyte/[email protected]-beta
uses: highbyte/[email protected]
with:
# The key of the SonarQube project
sonarProjectKey: your_projectkey
Expand All @@ -102,7 +103,7 @@ Also includes test results.
``` yaml
- name: SonarScanner for .NET 8 with pull request decoration support
uses: highbyte/[email protected]-beta
uses: highbyte/[email protected]
with:
# The key of the SonarQube project
sonarProjectKey: your_projectkey
Expand All @@ -124,7 +125,7 @@ Also includes test results.
``` yaml
- name: SonarScanner for .NET 8 with pull request decoration support
uses: highbyte/[email protected]-beta
uses: highbyte/[email protected]
with:
# The key of the SonarQube project
sonarProjectKey: your_projectkey
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ inputs:

runs:
using: "docker"
image: "docker://ghcr.io/highbyte/sonarscan-dotnet:v2.3.0-beta"
image: "docker://ghcr.io/highbyte/sonarscan-dotnet:v2.3.0"

branding:
icon: 'check-square'
Expand Down

0 comments on commit f378049

Please sign in to comment.