Skip to content

Commit

Permalink
update publishing.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bNobo committed Jun 27, 2021
1 parent 9369a85 commit b9177f1
Showing 1 changed file with 25 additions and 20 deletions.
45 changes: 25 additions & 20 deletions publishing.md
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.

0 comments on commit b9177f1

Please sign in to comment.