Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make portable build use portable config #5759

Merged
merged 1 commit into from
Nov 16, 2018

Conversation

vbjay
Copy link
Contributor

@vbjay vbjay commented Nov 13, 2018

Fixes #5758

Changes proposed in this pull request:

  • Make Portable Build store IsPortable: True in GitExtensions.exe.config

Screenshots before and after (if PR changes UI):

What did I do to test the code and ensure quality:

  • Ran Prepare-Release and opened zip

Has been tested on (remove any that don't apply):

@gerhardol
Copy link
Member

Good change, but I would rather have changed the settings in all portable builds, including the AppVeyor builds by calling the snippets from MakePortable.cmd (in a new .ps script).

@vbjay vbjay changed the title Make portable build use portable config WIP Make portable build use portable config Nov 13, 2018
@codecov
Copy link

codecov bot commented Nov 15, 2018

Codecov Report

Merging #5759 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5759      +/-   ##
==========================================
+ Coverage   36.95%   36.95%   +<.01%     
==========================================
  Files         619      619              
  Lines       47404    47404              
  Branches     6321     6321              
==========================================
+ Hits        17517    17519       +2     
  Misses      29107    29107              
+ Partials      780      778       -2

@vbjay
Copy link
Contributor Author

vbjay commented Nov 15, 2018

Calling powershell in a cmd is tough.

I made a powershell script that can be run to set a build to portable.

.\Set-Portable.ps1 -IsPortable

Sets release build to be portable

.\Set-Portable.ps1

Sets release build to not be portable

.\Set-Portable.ps1 -IsPortable Debug

Sets debug build to be portable

.\Set-Portable Debug

Sets debug to not be portable.

@vbjay vbjay changed the title WIP Make portable build use portable config Make portable build use portable config Nov 15, 2018
@vbjay
Copy link
Contributor Author

vbjay commented Nov 15, 2018

@RussKie @gerhardol Please let me know if there are any issues.

@vbjay
Copy link
Contributor Author

vbjay commented Nov 15, 2018

Squash?

@RussKie
Copy link
Member

RussKie commented Nov 15, 2018 via email

Add Set-Portable script that sets IsPortable

Call Set-Portable script for appveyor and releases

Add more info to MakePortable script
@RussKie RussKie merged commit 0a37353 into gitextensions:master Nov 16, 2018
@vbjay vbjay deleted the PortableBuild branch November 16, 2018 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants