diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml index 1136f83c..1b7650a2 100644 --- a/.github/workflows/winget.yml +++ b/.github/workflows/winget.yml @@ -10,7 +10,7 @@ jobs: - uses: vedantmgoyal2009/winget-releaser@v2 with: identifier: taers232c.GAMADV-XTD3 - release-tag: v7.02.03 + release-tag: v7.02.04 max-versions-to-keep: 1 # keep only latest versions installers-regex: '\.msi$' token: ${{ secrets.WINGET_TOKEN }} \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 369e9dfc..6cd2920b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -96,11 +96,11 @@ script: before_deploy: # Comment out for Linux Xenial and Trusty -#- yes | gem update --system --force -#- gem install bundler -#- gem install faraday-net_http -v '3.3.0' # Fix faraday version -#- gem install uri -#- gem install logger +- yes | gem update --system --force +- gem install bundler +- gem install faraday-net_http -v '3.3.0' # Fix faraday version +- gem install uri +- gem install logger - export TRAVIS_TAG="preview" - unset LD_LIBRARY_PATH @@ -115,8 +115,8 @@ deploy: # Linux 64-Bit Bionic and Linux ARM64 Focal and Linux ARM64 Bionic and Linux ARM64 Xenial # edge: true # Linux Xenial and Trusty - edge: - branch: v2.0.3-beta.4 +# edge: +# branch: v2.0.3-beta.4 # branch: v2.0.5-beta.1 on: repo: taers232c/GAMADV-XTD3 diff --git a/src/GamUpdate.txt b/src/GamUpdate.txt index b4c8216a..565867e2 100644 --- a/src/GamUpdate.txt +++ b/src/GamUpdate.txt @@ -1,3 +1,7 @@ +7.02.04 + +Updated code to eliminate trap caused by bug introduced in 7.02.00 that occurs when an invalid domain or OU is specified. + 7.02.03 Added option `archive` to `gam update license from ` that causes GAM diff --git a/src/gam/__init__.py b/src/gam/__init__.py index 9b9a6eb9..727b0f2a 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -25,7 +25,7 @@ """ __author__ = 'Ross Scroggs ' -__version__ = '7.02.03' +__version__ = '7.02.04' __license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)' #pylint: disable=wrong-import-position @@ -628,7 +628,7 @@ def formatKeyValueList(prefixStr, kvList, suffixStr): msg += suffixStr return msg -# Something's wrong with CustomerID +# Something's wrong with CustomerID?? def accessErrorMessage(cd, errMsg=None): if cd is None: cd = buildGAPIObject(API.DIRECTORY) @@ -652,10 +652,12 @@ def accessErrorMessage(cd, errMsg=None): Ent.DOMAIN, GC.Values[GC.DOMAIN], Ent.USER, GM.Globals[GM.ADMIN]])+[Msg.ACCESS_FORBIDDEN], '') - return formatKeyValueList('', - [Ent.Singular(Ent.CUSTOMER_ID), GC.Values[GC.CUSTOMER_ID], - errMsg], - '') + if errMsg: + return formatKeyValueList('', + [Ent.Singular(Ent.CUSTOMER_ID), GC.Values[GC.CUSTOMER_ID], + errMsg], + '') + return None def accessErrorExit(cd, errMsg=None): systemErrorExit(INVALID_DOMAIN_RC, accessErrorMessage(cd or buildGAPIObject(API.DIRECTORY), errMsg)) diff --git a/src/gam/googleapiclient/version.py b/src/gam/googleapiclient/version.py index ea0841e6..b0ab7def 100644 --- a/src/gam/googleapiclient/version.py +++ b/src/gam/googleapiclient/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "2.146.0" +__version__ = "2.156.0"