Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upload pre-buit binaries on releases #32

Closed
4 tasks done
Sylvain303 opened this issue Jun 7, 2019 · 2 comments
Closed
4 tasks done

upload pre-buit binaries on releases #32

Sylvain303 opened this issue Jun 7, 2019 · 2 comments

Comments

@Sylvain303
Copy link
Collaborator

Sylvain303 commented Jun 7, 2019

following #23

  • provide a script to upload signed prebuit binaries on github releases.

hints are:

  • make all on travis and upload to github on deploy step built locally
  • locally with a script
  • https://goreleaser.com/ ?
  • Also update getter script:

https://github.com/docopt/docopts/blob/master/get_docopts.sh

  • Document about prebuilt binaries
  • change version format: `docopts: 0.6.3, commit yxz1234, built at 2019-08-03 10:01:06 (UTC+0200)
Sylvain303 pushed a commit that referenced this issue Aug 1, 2019
Sylvain303 pushed a commit that referenced this issue Aug 1, 2019
Document our deployment process. No code change, still draft.
Sylvain303 pushed a commit that referenced this issue Aug 2, 2019
adding v0.6.2 missing tag, not yet supported by deploy.sh

deploy.sh now support build target to only build for target
listed in deployment.yml

uploading doesn't delete assets, tested on Sylvain303

docs/pre_built_binaries.md is not uptodate
Sylvain303 pushed a commit that referenced this issue Aug 2, 2019
add --replace, first delete existing release
now support release compilation too in build/ dir
completed desciption on deployment.yml
@Sylvain303
Copy link
Collaborator Author

To be continued.

Sylvain303 pushed a commit that referenced this issue Aug 5, 2019
* get_docopts.sh now handle new binaries naming from gox compile with deploy.sh
* docopts.go now support linker variable for Version and use govvv
* updated Makefile and deploy.sh to use govvv
* README.md documentation updated about version 0.6.3-rc1
Sylvain303 pushed a commit that referenced this issue Aug 5, 2019
Sylvain303 pushed a commit that referenced this issue Aug 5, 2019
@Sylvain303
Copy link
Collaborator Author

v0.6.3-rc1 published with our deploy.sh OK

I didn't use https://goreleaser.com/ for that release, I may try it in the future.

I also introduced ldflags with govvv
See: https://github.com/docopt/docopts/blob/v0.6.3-rc1/Makefile#L16

Seems OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant