fix: working on build patterns
This commit is contained in:
parent
677b12f57c
commit
7594b73846
4 changed files with 13743 additions and 6 deletions
|
@ -13,7 +13,6 @@ build:
|
|||
# Set up the environment.
|
||||
- npx npm install --ci
|
||||
- npx commitlint-gitlab-ci -x @commitlint/config-conventional
|
||||
- npx semantic-release --publish
|
||||
|
||||
# Build and test everything.
|
||||
- dotnet restore
|
||||
|
@ -29,10 +28,6 @@ build:
|
|||
# Perform the release.
|
||||
- npx semantic-release
|
||||
|
||||
# Create the NuGet packages.
|
||||
- dotnet pack -c Release
|
||||
- dotnet nuget push "bin/*.nupkg" --api-key $NUGET_TOKEN --source "$NUGET_PUSH_URL"
|
||||
|
||||
rules:
|
||||
- if: '$CI_COMMIT_TITLE =~ /^chore\(release\)/'
|
||||
when: never
|
||||
|
|
13740
package-lock.json
generated
Normal file
13740
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -15,6 +15,7 @@
|
|||
"commitlint-gitlab-ci": "^0.0.4",
|
||||
"husky": "^7.0.2",
|
||||
"semantic-release": "^17.4.7",
|
||||
"semantic-release-dotnet": "^1.0.0"
|
||||
"semantic-release-dotnet": "^1.0.0",
|
||||
"semantic-release-nuget": "^1.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@ module.exports = {
|
|||
"@semantic-release/release-notes-generator",
|
||||
"@semantic-release/npm",
|
||||
"semantic-release-dotnet",
|
||||
"semantic-release-nuget",
|
||||
"@semantic-release/changelog",
|
||||
"@semantic-release/git",
|
||||
"@semantic-release/gitlab",
|
||||
|
|
Reference in a new issue