Skip to content

Go: handle version like beta1 #189

Closed
@mtanda

Description

@mtanda

Description:
sam build is failed with go1.15beta1.

$ go version
go version go1.15beta1 linux/amd64

Steps to reproduce the issue:

  1. install go1.15beta1
  2. execute sam build

Observed result:
Get error.

    version_parts = [int(x.replace("rc", "")) for x in out_parts[2].replace(self.LANGUAGE, "").split(".")]
ValueError: invalid literal for int() with base 10: '15beta1'

Expected result:
No error.

Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
Ubuntu 18.04 (Windows/WSL)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions