Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Update CI and add version command #996

Merged
merged 11 commits into from
Aug 29, 2017
Merged

Conversation

ebati
Copy link
Contributor

@ebati ebati commented Aug 12, 2017

What does this do / why do we need it?

  • Update travis.yml to release binaries on tag
  • Add version command
  • Update docs to reflect changes

What should your reviewer look out for in this PR?

Do you need help or clarification on anything?

Which issue(s) does this PR fix?

```sh
$ go get -u github.com/golang/dep/cmd/dep
```
Grab the latest binary from the [releases](https://github.com/golang/dep/releases) page.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure we want to remove the traditional way of getting Go tools from the README. 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will go get be the normal users installation method or it will be there as a note developers. If it is for normal use, I dont think it is a good idea to use tool from the tip of the master.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think we can remove it, but we should de-emphasize it - put it after other recommended methods.

@sdboyer
Copy link
Member

sdboyer commented Aug 17, 2017

Is it enough to write commands in travis file or you prefer Makefile/bash script etc.?

i'd prefer to have a bash script, so that we can easily run it from elsewhere if needed. can put it under hack/.

here's a block of YAML i generated for .travis.yml - i give it to you, to integrate into this PR :)

deploy:
  provider: releases
  api_key:
    secure: fL9GX11J3JLizEBTPZHN32wuAT91eAJsGl0kjlAdIc6Lb/9UCe1XZGgFnpQFN4qo/S+omhHBDbM6Ty1xhNy7xmjDecpQGDU8Rmap9Oll0TuxqMigG+njOuPp5VUYPofPP0PGKdxAcYg+KaFM7x0o2rK+qA046NHwo2gH1BbE+bn55TZglEajEfc8j9iX4jt96KC7zlu+WiKArLmfUtlrI8m8ZYgbYcvFmlYjeCiEqlNhvNL59ejug9Rl0PLtPbamqVXkGLafYtekgPCb4WSxBiCt8pq5Rb5svk9YcdXpiaWQhZjMPAuKN6BrmN2lw1PiXzADUG5fjvNc8eo2HY70GD2utU9cAsY8VIafhoH5n6uM1WI8MHwDfd7P1PiQA3ZGQ8CPwk4q/8HSfQU9ap7vZgSF63pTIbtlviyIG67orOJE9PWWncl9olYM946UylZu6m3hWI/rmJxOeJ1UJjym/3GNPMRfKubaGhV/TyRdM0bKX4M0cXHU6k/ESVFupGXdKRt4RpvkD4/1Km6b2OShW6PNI+ifFspnJr7obkI7dm7ubySdnNz4lMv9WWymxRpMVc8hUAhuoDvXeZJq7pSnkjBEWDxIRoTkA93CU3/Rf7MFYCJMnGSqjcxWUpIfCAk2/r4BqL9NQnqBvvVt+MYi64QaD5n7ZF3dVbr6HZ2zjSU=
  file: ''
  on:
    repo: golang/dep

Windows and *nix are tested on different systems, will it be a problem to release from travis without waiting windows finish?

i don't think so. we're not going to tag a release on a commit without it having passed all of CI anyway, so by the time the actual tag push happens, we'll already be sure that windows is 👍 .

@ebati ebati force-pushed the ci-make-version branch 2 times, most recently from 3d01a10 to d764c12 Compare August 19, 2017 13:10
@ebati ebati changed the title [WIP] Update CI and add version command Update CI and add version command Aug 20, 2017
Copy link
Member

@sdboyer sdboyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just wording nits, the logic looks pretty good!

### What version of dep are you using (`dep version`)?
<!--
If not using release version what version of Go (`go version`)
and `dep` (`git describe --tags`) are you using?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's replace with "If you installed dep via go get, report the version instead with cd $GOPATH/src/github.com/golang/dep && git describe --tags

README.md Outdated
@@ -50,6 +46,12 @@ $ brew install dep
$ brew upgrade dep
```

You can also install dep via
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's further advise against this by making the sentence read:

"If you're interested in hacking on dep, you can install via go get:"

@sdboyer
Copy link
Member

sdboyer commented Aug 29, 2017

weee!

@sdboyer sdboyer merged commit a8802c0 into golang:master Aug 29, 2017
@YAYM
Copy link

YAYM commented Apr 3, 2020

608446434

@YAYM
Copy link

YAYM commented Apr 3, 2020

department

@YAYM
Copy link

YAYM commented Apr 3, 2020

dep

YAYM referenced this pull request Apr 3, 2020
Signed-off-by: Xiang Dai <764524258@qq.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Just release binaries to github dep version
5 participants