mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-27 11:16:07 +02:00
fix: bump
This commit is contained in:
parent
328f96fa9a
commit
85f657bf7c
2 changed files with 4 additions and 7 deletions
|
@ -89,10 +89,6 @@ jobs:
|
|||
- run:
|
||||
name: Increase version with semantic-release
|
||||
command: yarn run release
|
||||
- run:
|
||||
name: Push package
|
||||
command: dotnet nuget push dotnet nuget push ./SMBLibrary/bin/Release/SMBLibrary.1.4.7.nupkg --source "github" --api-key $GITHUB_TOKEN
|
||||
|
||||
- persist_to_workspace:
|
||||
root: .
|
||||
paths:
|
||||
|
@ -105,14 +101,14 @@ workflows:
|
|||
jobs:
|
||||
- build:
|
||||
context:
|
||||
- lec-github-packages-rw
|
||||
- lec-github-release
|
||||
filters:
|
||||
branches:
|
||||
only: << pipeline.parameters.git-primary-branch >>
|
||||
|
||||
- release:
|
||||
context:
|
||||
- lec-github-packages-rw
|
||||
- lec-github-release
|
||||
requires:
|
||||
- build
|
||||
filters:
|
||||
|
|
|
@ -18,7 +18,8 @@ module.exports = {
|
|||
"prepareCmd": `sed -i -E 's/<Version>${previousVersion}/<Version>\${nextRelease.version}/' ${projectfolder}${csprojfile} && \
|
||||
git add ${projectfolder}${csprojfile} && \
|
||||
git commit -m ":bookmark: Bump from ${previousVersion} to \${nextRelease.version} in ${projectfolder}${csprojfile}" && \
|
||||
dotnet pack ${projectfolder}${csprojfile} --configuration Release`
|
||||
dotnet pack ${projectfolder}${csprojfile} --configuration Release && \
|
||||
dotnet nuget push ./${projectfolder}bin/Release/${nugetpackage}.\${nextRelease.version}.nupkg --source \"github\" --api-key $GITHUB_TOKEN`
|
||||
}
|
||||
],
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue