Skip to content

Commit

Permalink
Final fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafal Nowosielski committed Mar 19, 2015
1 parent 0f91fc9 commit 4f59dff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Library for managing postal codes for .NET
This package follows the git-flow branching model:
* Develop features of a ```feature/*``` branch.
* Create pull request to a ```master``` branch.
* Once ```master``` is branched into ```release/<major>.<minor>``` an automatic job builds and if successful publishes the NuGet package.
* Once ```master``` is branched into ```release/<major>.<minor>.<patch>``` an automatic job builds and if successful publishes the NuGet package.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: build_number_{build}
skip_tags: true
init:
- ps: "$v = [regex]::match($env:APPVEYOR_REPO_BRANCH,'release/(.*)').Groups[1].Value\nWrite-Host \"On branch $($env:APPVEYOR_REPO_BRANCH)\"\nIF($v) { \n $env:VERSION_FROM_BRANCH = \"$($v).$($env:APPVEYOR_BUILD_NUMBER)\"\n} else {\n $env:VERSION_FROM_BRANCH = \"0.0.$($env:APPVEYOR_BUILD_NUMBER)\"\n}\nWrite-Host \"Set version to $($env:VERSION_FROM_BRANCH)\""
- ps: "$v = [regex]::match($env:APPVEYOR_REPO_BRANCH,'release/(.*)').Groups[1].Value\nWrite-Host \"On branch $($env:APPVEYOR_REPO_BRANCH)\"\nIF($v) { \n $env:VERSION_FROM_BRANCH = \"$($v).$($env:APPVEYOR_BUILD_NUMBER)\"\n} else {\n $env:VERSION_FROM_BRANCH = \"0.0.0.$($env:APPVEYOR_BUILD_NUMBER)\"\n}\nWrite-Host \"Set version to $($env:VERSION_FROM_BRANCH)\""
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
Expand All @@ -24,7 +24,7 @@ deploy:
on:
branch: /release/.*/
- provider: GitHub
release:
release: $(VERSION_FROM_BRANCH)
auth_token:
secure: WU3IlQqOmPsEQ5Gsmj9MMBMdwNynLhxuBBK5C1SiPBygO78NcehvQw92TOfDkEq0
artifact: Dlls
Expand Down

0 comments on commit 4f59dff

Please sign in to comment.