-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
# Process to publish a new release | ||
|
||
- update publish version on master | ||
- commit and push | ||
- checkout gh-pages | ||
- rebase gh-pages onto master (or just merge or cherry-pick last commit if there are no other modifications) | ||
- choose "Release" configuration and publish in "publish" local folder | ||
- push binaries stored in "publish" folder => now github pages is up-to-date, you can install needabreak from https://bnobo.github.io/needabreak/NeedABreak/publish/setup.exe | ||
- make a ZIP with all files under "publish" | ||
- create a new release on GitHub | ||
- upload ZIP in the new release | ||
- publish release => now you can install needabreak from the Releases page https://github.com/bNobo/needabreak/releases | ||
|
||
# NB : | ||
|
||
execute this command after "git clone" to prevent CRLF alteration on commit : | ||
|
||
git config --local core.autocrlf false | ||
|
||
if you don't do this the manifest will be considered corrupted by ClickOnce because the hash won't match the file. | ||
# Process to publish a new release | ||
|
||
- create a branch to prepare new version | ||
- update package version | ||
- update readme.md | ||
- merge into root | ||
- checkout gh-pages | ||
- rebase gh-pages onto root | ||
- choose "Release" configuration and publish in "publish" local folder | ||
- add binaries stored in "publish" folder | ||
> use `git add -f` to force add new folder under "Application Files" | ||
- push gh-pages => now github pages is up-to-date, you can install needabreak from https://bnobo.github.io/needabreak/NeedABreak/publish/setup.exe | ||
- make a ZIP with all files under "publish" | ||
- push root branch on remote | ||
- create a new release on GitHub | ||
- upload ZIP in the new release | ||
- publish release => now you can install needabreak from the Releases page https://github.com/bNobo/needabreak/releases | ||
|
||
# NB : | ||
|
||
execute this command after "git clone" to prevent CRLF alteration on commit : | ||
|
||
git config --local core.autocrlf false | ||
|
||
if you don't do this the manifest will be considered corrupted by ClickOnce because the hash won't match the file. |