phraseapp_updater 2.0.9 → 2.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20865783d9dc311b609f04aed10fb385bacf9b7eea1ac8576b163fe2f7019afa
4
- data.tar.gz: 70adc2da3810e72ab5e56cf9881b1dd0e464c4671a3c2971706b535b43558122
3
+ metadata.gz: 6e77fc445857a954b363ba696c6b0696121ed33fa5b4b59eddc92306f94bfa10
4
+ data.tar.gz: 2433ddde7e837634c2e24f1597f8b9a5b7b1c169c84c7b72bb37fe5d76512774
5
5
  SHA512:
6
- metadata.gz: 72591209820858b667cfb8cefbabcce7e959f3b01a5b7aa7b9e778044be2aa84817cb29cdfe6dd44d3b350ff4d0cc47fc4756a94429625ad1bbfc5eccdd6f1f5
7
- data.tar.gz: eac55d1314e12ab46bc063172f6fe9d261f035af52c3336cab0dd75b3d7665fc316ca8ffb74304e271d771ed364dd609a79f350e1861d224fdf407529eccdea6
6
+ metadata.gz: 7625186b9ea217a918de59e58d686592ed117811a9ba7a380a84c635e2f9e07e3f8a2642e9f6de5c08ed3243aa9a7b698bc6f911fbf2cd62ff17c4fbd4cf50ec
7
+ data.tar.gz: 87e307dd1f92b2715bd9c222927ff9a159b7c89f06399b4fa517e73e58c8753030d03ebd1604f9b7a5afa6b92620e737fbdc2c0bd6c5b5fe63474bfccc8ff028
@@ -27,7 +27,7 @@ current_branch=$(git rev-parse "${REMOTE}/${BRANCH}")
27
27
 
28
28
  # If there's a local checkout of that branch, for safety's sake make sure that
29
29
  # it's up to date with the remote one.
30
- local_branch=$(git rev-parse "${BRANCH}" || true)
30
+ local_branch=$(git rev-parse --quiet --verify "${BRANCH}" || true)
31
31
  if [ "$local_branch" ] && [ "$current_branch" != "$local_branch" ]; then
32
32
  echo "Error: local branch '${BRANCH}' exists but does not match '${REMOTE}/${BRANCH}'." >&2
33
33
  exit 1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class PhraseAppUpdater
4
- VERSION = '2.0.9'
4
+ VERSION = '2.0.10'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phraseapp_updater
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.9
4
+ version: 2.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Griffin