From b9177f190d44f85ae3683bb7b53936378f582bfd Mon Sep 17 00:00:00 2001 From: bNobo Date: Sun, 27 Jun 2021 15:51:24 +0200 Subject: [PATCH] update publishing.md --- publishing.md | 45 +++++++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/publishing.md b/publishing.md index d7279ad..498b9b9 100644 --- a/publishing.md +++ b/publishing.md @@ -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.