Skip to content

Commit

Permalink
chore: note in readme about how to deploy (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
activescott authored Oct 10, 2020
1 parent 1666d20 commit 945898a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,14 @@ Contributing
We accept pull requests! I think this is a sound basis, but obviously there are many improvements that could be made such as [improving platform independence by adding a new FileSystemStrategy](#platform-independence) or adding more static methods to [Path](https://github.com/activescott/LessIO/blob/master/src/LessIO/Path.cs) from System.IO.FileInfo/DirectoryInfo to make it easier to port System.IO code over to this library. There might also be some important methods missing on [FileSystem](https://github.com/activescott/LessIO/blob/master/src/LessIO/FileSystem.cs) as I just added the operations that [LessMSI](https://github.com/activescott/LessMSI) already uses which I imagine is fairly extensive but maybe not comprehensive.

Please do make sure that existing tests pass and please add new ones for the new features you write.


Deploying
========
Deployment to NuGet and Github Releases is automated. To deploy a new release take the following steps:

1. Make sure all changes are merged to master
2. Checkout the commit from the master branch. Then tag the commit with the tag `publish` by running the following command: `git tag -f publish`
3. Push the tag with `git push --tags -f`

The build script will then detect the tag, build it and publish it to GitHub Releases and Nuget.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ deploy:
release: v$(APPVEYOR_BUILD_VERSION)
description: 'Appveyor deployed v$(APPVEYOR_BUILD_VERSION)'
auth_token:
secure: JnGpNSHH2imq7iLdYS32onLbbSY0TP6eX+Z7m5bIeUUUHuT8zuf14DCJlDUoLqcK # encrypted token from https://github.com/settings/tokens
secure: sHTJe3t1e84O4MP01W+PBfNt+9hQSAeH8y9KzceW471wltJZBEH3p+suOo1yQecv # encrypted token from https://github.com/settings/tokens
artifact: /(.*\.nupkg)|(.*\.zip)/ # upload NuGet & zip files to release assets
draft: false
prerelease: false
Expand Down

0 comments on commit 945898a

Please sign in to comment.