Skip to content

Commit

Permalink
Merge pull request #18 from randallreedjr/releases/1.1.3
Browse files Browse the repository at this point in the history
v1.1.3
  • Loading branch information
randallreedjr committed Feb 9, 2022
2 parents 3d069ae + 7109ddd commit 0da1124
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
git_swap (1.1.2)
git_swap (1.1.3)
activesupport (~> 5.2)

GEM
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ git swap personal -v

## Releasing
To release a new version of the gem:
* Once changes for release have been merged into `develop` branch, create a new release branch (`releases/vx.y.z`) off `develop`.
* Once changes for release have been merged into `develop` branch, merge the `develop` branch into `master`.
* Create a new release branch (`releases/vx.y.z`) off `master`.
* Bump the version number in [lib/git_swap/version.rb](https://github.com/randallreedjr/git_swap/blob/develop/lib/git_swap/version.rb).
* Rerun `bundle` to update Gemfile.lock
* Open a pull request to the `master` branch
Expand Down
5 changes: 3 additions & 2 deletions lib/git_swap/swapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,11 @@ def set_git_config

def set_ssh
`git config #{git_config_flag} core.sshCommand "#{ssh_command}"`
# Include the --apple-use-keychain option to retrieve the passphrase
if options.verbose?
`ssh-add #{ssh}`
`ssh-add --apple-use-keychain #{ssh}`
else
`ssh-add #{ssh} 2>/dev/null`
`ssh-add --apple-use-keychain #{ssh} 2>/dev/null`
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/git_swap/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module GitSwap
VERSION = "1.1.2" unless defined? VERSION
VERSION = "1.1.3" unless defined? VERSION
end

0 comments on commit 0da1124

Please sign in to comment.