Skip to content

Commit

Permalink
Merge branch 'beta'
Browse files Browse the repository at this point in the history
  • Loading branch information
Kampfmoehre committed Aug 22, 2022
2 parents 7237a8e + ecbe94d commit d90d47a
Show file tree
Hide file tree
Showing 9 changed files with 1,153 additions and 1,149 deletions.
37 changes: 21 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,55 +1,60 @@
## [1.1.2](https://github.com/droidsolutions/semantic-release-nuget/compare/v1.1.1...v1.1.2) (2022-07-13)
# [1.2.0-beta.1](https://github.com/droidsolutions/semantic-release-nuget/compare/v1.1.2...v1.2.0-beta.1) (2022-07-13)


### Bug Fixes

* **publish:** prevent NuGet token from leaking in logs ([9e3c005](https://github.com/droidsolutions/semantic-release-nuget/commit/9e3c0052963cc67c33df20803d83dc5e0e7da5ad))
* **deps:** update vulnerable deps via npm audit fix ([a9b79b7](https://github.com/droidsolutions/semantic-release-nuget/commit/a9b79b707a8452b9b6ebef55893827aa0d6270f4))
* **verify:** use SemanticReleaseError in verify ([a749358](https://github.com/droidsolutions/semantic-release-nuget/commit/a7493581492a904bf80e14e422ddf1642efea6fd))

## [1.1.1](https://github.com/droidsolutions/semantic-release-nuget/compare/v1.1.0...v1.1.1) (2022-04-05)

### Features

* allow to skip publish to official NuGet ([53eb0e7](https://github.com/droidsolutions/semantic-release-nuget/commit/53eb0e7ad6cd22afe65e401f976c07ab2c438e90))

## [1.1.2](https://github.com/droidsolutions/semantic-release-nuget/compare/v1.1.1...v1.1.2) (2022-07-13)

### Bug Fixes

* prepare failed when projectPath was string ([f3297b7](https://github.com/droidsolutions/semantic-release-nuget/commit/f3297b74e694e2fe89f0875bbeb0d409fc2fb5a8))
- **publish:** prevent NuGet token from leaking in logs ([9e3c005](https://github.com/droidsolutions/semantic-release-nuget/commit/9e3c0052963cc67c33df20803d83dc5e0e7da5ad))

# [1.1.0](https://github.com/droidsolutions/semantic-release-nuget/compare/v1.0.3...v1.1.0) (2022-03-18)
## [1.1.1](https://github.com/droidsolutions/semantic-release-nuget/compare/v1.1.0...v1.1.1) (2022-04-05)

### Bug Fixes

- prepare failed when projectPath was string ([f3297b7](https://github.com/droidsolutions/semantic-release-nuget/commit/f3297b74e694e2fe89f0875bbeb0d409fc2fb5a8))

# [1.1.0](https://github.com/droidsolutions/semantic-release-nuget/compare/v1.0.3...v1.1.0) (2022-03-18)

### Features

* allow to build multiple NuGet packages in one Repo ([39c5fa3](https://github.com/droidsolutions/semantic-release-nuget/commit/39c5fa39021b6d4c3ecfdf1a7e636c605a20f7a8))
- allow to build multiple NuGet packages in one Repo ([39c5fa3](https://github.com/droidsolutions/semantic-release-nuget/commit/39c5fa39021b6d4c3ecfdf1a7e636c605a20f7a8))

# [1.1.0-beta.1](https://github.com/droidsolutions/semantic-release-nuget/compare/v1.0.3...v1.1.0-beta.1) (2022-03-15)


### Features

* allow to build multiple NuGet packages in one Repo ([39c5fa3](https://github.com/droidsolutions/semantic-release-nuget/commit/39c5fa39021b6d4c3ecfdf1a7e636c605a20f7a8))
- allow to build multiple NuGet packages in one Repo ([39c5fa3](https://github.com/droidsolutions/semantic-release-nuget/commit/39c5fa39021b6d4c3ecfdf1a7e636c605a20f7a8))

## [1.0.3](https://github.com/droidsolutions/semantic-release-nuget/compare/v1.0.2...v1.0.3) (2022-01-27)


### Bug Fixes

* **publish:** use NuGet API url and snupkg ([6c64590](https://github.com/droidsolutions/semantic-release-nuget/commit/6c64590d6cdb02048b91bc11f03c81cacf81a6a5))
- **publish:** use NuGet API url and snupkg ([6c64590](https://github.com/droidsolutions/semantic-release-nuget/commit/6c64590d6cdb02048b91bc11f03c81cacf81a6a5))

## [1.0.2](https://github.com/droidsolutions/semantic-release-nuget/compare/v1.0.1...v1.0.2) (2022-01-27)


### Bug Fixes

* **publish:** use nuget.org as default push source ([d0c7016](https://github.com/droidsolutions/semantic-release-nuget/commit/d0c7016c112d1891ef900dc3efe0b6f7f8b9d28d))
- **publish:** use nuget.org as default push source ([d0c7016](https://github.com/droidsolutions/semantic-release-nuget/commit/d0c7016c112d1891ef900dc3efe0b6f7f8b9d28d))

## [1.0.1](https://github.com/droidsolutions/semantic-release-nuget/compare/v1.0.0...v1.0.1) (2022-01-20)


### Bug Fixes

* **release:** mark package as publicly accessible ([f787f4b](https://github.com/droidsolutions/semantic-release-nuget/commit/f787f4bf7b7429fa67d80006022e38cef6da08b0))
- **release:** mark package as publicly accessible ([f787f4b](https://github.com/droidsolutions/semantic-release-nuget/commit/f787f4bf7b7429fa67d80006022e38cef6da08b0))

# 1.0.0 (2022-01-20)


### Features

* initial release ([3df0305](https://github.com/droidsolutions/semantic-release-nuget/commit/3df0305eb8c336d804784f816ff2fd2a6127d8f7))
- initial release ([3df0305](https://github.com/droidsolutions/semantic-release-nuget/commit/3df0305eb8c336d804784f816ff2fd2a6127d8f7))
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,23 @@ The NuGet server authentication is **required** and can be set via [environment

### Options

| Options | Description | Default |
| ------------------- | ------------------------------------------------------------------------------------------------ | ----------- |
| `nugetServer` | The URL of the NuGet server to push the package to. | `nuget.org` |
| `projectPath` | The relative path to the project file to pack. Can also be an array including multiple projects. | |
| `includeSymbols` | If true Debug symbols will be included in the package. | `false` |
| `includeSource` | If true source code will be included in the package. | `false` |
| `dotnet` | The path to the dotnet executable if not in PATH. | `dotnet` |
| `publishToGitLab` | If true, package will also be published to the GitLab registry. | `false` |
| `usePackageVersion` | If true, version is directly set via dotnet pack argument. | `false` |
| Options | Description | Default |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| `nugetServer` | The URL of the NuGet server to push the package to. | `nuget.org` |
| `projectPath` | The relative path to the project file to pack. Can also be an array including multiple projects. | |
| `includeSymbols` | If true Debug symbols will be included in the package. | `false` |
| `includeSource` | If true source code will be included in the package. | `false` |
| `dotnet` | The path to the dotnet executable if not in PATH. | `dotnet` |
| `publishToGitLab` | If true, package will also be published to the GitLab registry. | `false` |
| `usePackageVersion` | If true, version is directly set via dotnet pack argument. | `false` |
| `skipPublishToNuget` | If true, the NuGet package will not be published to the `nugetServer`. You can use this together with `publishToGitLab` to **only** publish your package to the GitLab registry. | `false` |

**Note**: If `usePackageVersion` is set the version from Semantic Release is given directly to the `dotnet pack` command via the `-p:PackageVersion=<version>` argument. In this case any existing version in project files are ignored.

**Note**: If `publishToGitLab` is set the environment variables for `CI_SERVER_URL`, `CI_PROJECT_ID` and `CI_JOB_TOKEN` must be set. If you are running in GitLab CI this is automatically set by GitLab for you.

**Note**: If `skipPublishToNuget` is set the package will not be published to the nuget server even if you specified an alternative via `nugetServer`. This only makes sense in combination with `publishToGitLab`.

**Note**: When you add the [NPM plugin](https://raw.githubusercontent.com/semantic-release/npm) to update your `package.json` you should set `npmPublish` to `false` to prevent Semantic Release from trying to publish an NPM package.

## Versioning
Expand Down
Loading

0 comments on commit d90d47a

Please sign in to comment.