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

deploy.sh: upload release source tarball #969

Merged
merged 1 commit into from
Dec 19, 2016
Merged

Conversation

Mic92
Copy link
Contributor

@Mic92 Mic92 commented Dec 13, 2016

Having a release tarball including all vendor source makes life of maintainers a lot easier to create downstream packages.
It also ensures that as long as the go release is available the software can be build reproducible.

Copy link
Member

@emilevauge emilevauge left a comment

Choose a reason for hiding this comment

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

Thanks @Mic92 :)
LGTM

@@ -27,6 +27,7 @@ sudo chmod +x /usr/bin/ghr

# github release and tag
echo "Github release..."
tar cfz dist/traefik-${VERSION}.src.tar.gz --exclude .git --exclude dist .
Copy link
Contributor

Choose a reason for hiding this comment

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

options --exclude-vcs --exclude-vcs-ignores are better choices :)

Copy link
Contributor

Choose a reason for hiding this comment

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

without --exclude-vcs-ignores if we want to keep /vendor

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done!

@guilhem
Copy link
Contributor

guilhem commented Dec 16, 2016

If i'm not wrong, Github is already doing a tar.gz for each release
example: https://github.com/containous/traefik/archive/v1.1.2.tar.gz
selection_002

@Mic92
Copy link
Contributor Author

Mic92 commented Dec 16, 2016

@guilhem but this is not the same, it does not include vendor/ with source code of used packages. Having this option allows us to install any release at any point without having to worry that repositories gets vanished at some point.

@guilhem
Copy link
Contributor

guilhem commented Dec 17, 2016

@Mic92 Ok I understand, it's true I used to commit /vendor in my code to prevent this inconvenant.

Having a release tarball including all vendor source makes life of maintainers a lot easier to create downstream packages.
It also ensures that as long as the go release is available the software can be build reproducible.
@SantoDE
Copy link
Collaborator

SantoDE commented Dec 19, 2016

LGTM 👼

@SantoDE SantoDE merged commit 318ff52 into traefik:master Dec 19, 2016
@Mic92 Mic92 deleted the patch-1 branch September 11, 2017 17:42
@Mic92 Mic92 mentioned this pull request Sep 11, 2017
8 tasks
@ldez ldez added this to the 1.2 milestone Oct 1, 2017
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

Successfully merging this pull request may close these issues.

5 participants