gop icon indicating copy to clipboard operation
gop copied to clipboard

gop binary release

Open xushiwei opened this issue 3 years ago • 5 comments

Requirements:

  • make tool (done by @92hackers).
  • with std packages (done by @cpunion).
  • build for multi platforms (done by @cpunion).
  • build with gop env (include VERSION, BUILDREV, etc. done by @92hackers).
  • a release tool (for release a new version automatically #1018).
  • a download page like https://go.dev/dl/ (@nighca).
  • brew install goplus (done by @cpunion).
  • installer for windows and mac (#1019).

Release tool Design (#1018):

  • go run cmd/make.go -tag <Version>, it will automatically update the VERSION file in release branch and create a new tag named <Version>. The release branch of <Version = vMAJOR.MINOR.PATCH> is vMAJOR.MINOR.

xushiwei avatar Oct 06 '21 06:10 xushiwei

It is indeed too troublesome to install now. It would be best to publish an installation package that can be installed with one click.

fenginsc avatar Oct 18 '21 04:10 fenginsc

It is indeed too troublesome to install now. It would be best to publish an installation package that can be installed with one click.

sure, let's enhance it.

CarlJi avatar Oct 18 '21 04:10 CarlJi

Can't get gop of release v1.0.16 run. It got error to run an example script.

$ gop run a.gop
[FATAL] /github/workspace/cmd/internal/run/run.go:91: findGoModFile: no such file or directory

jedy avatar Oct 20 '21 05:10 jedy

Can't get gop of release v1.0.16 run. It got error to run an example script.

$ gop run a.gop
[FATAL] /github/workspace/cmd/internal/run/run.go:91: findGoModFile: no such file or directory

Currently, please follow this guide to have a try.

CarlJi avatar Oct 20 '21 06:10 CarlJi

It is indeed too troublesome to install now. It would be best to publish an installation package that can be installed with one click.

Agree. I'm interesting in gop, mostly for "scripting" purposes and have no previous knowledge of go tooling. I'm surprised, that I need to install golang tools to build compiler myself. For some beta version - fine - but gop is in production version 1.1.

MirKml avatar Jun 17 '22 17:06 MirKml