Skip to content

Commit 945898a

Browse files
authored
chore: note in readme about how to deploy (#13)
1 parent 1666d20 commit 945898a

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,14 @@ Contributing
5353
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.
5454

5555
Please do make sure that existing tests pass and please add new ones for the new features you write.
56+
57+
58+
Deploying
59+
========
60+
Deployment to NuGet and Github Releases is automated. To deploy a new release take the following steps:
61+
62+
1. Make sure all changes are merged to master
63+
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`
64+
3. Push the tag with `git push --tags -f`
65+
66+
The build script will then detect the tag, build it and publish it to GitHub Releases and Nuget.

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ deploy:
3232
release: v$(APPVEYOR_BUILD_VERSION)
3333
description: 'Appveyor deployed v$(APPVEYOR_BUILD_VERSION)'
3434
auth_token:
35-
secure: JnGpNSHH2imq7iLdYS32onLbbSY0TP6eX+Z7m5bIeUUUHuT8zuf14DCJlDUoLqcK # encrypted token from https://github.com/settings/tokens
35+
secure: sHTJe3t1e84O4MP01W+PBfNt+9hQSAeH8y9KzceW471wltJZBEH3p+suOo1yQecv # encrypted token from https://github.com/settings/tokens
3636
artifact: /(.*\.nupkg)|(.*\.zip)/ # upload NuGet & zip files to release assets
3737
draft: false
3838
prerelease: false

0 commit comments

Comments
 (0)