Repository navigation
Push tags when pushing changes to repository - #9481
Merged
Merged
Conversation
outofambit
reviewed
Apr 8, 2020
Comment on lines
+17
to
+18
| export type PushOptions = { | ||
| export interface IPushOptions { |
Contributor
There was a problem hiding this comment.
@rafeca why is this an interface now instead of a type? i'm not opposed i'm just not following 😕
Contributor
Author
There was a problem hiding this comment.
ups I changed this because I saw other options objects around the codebase using an interface, but now that I look more closely both type an interface are used similarly:
git grep 'interface [^\s]*Options' ':(exclude)app/test/fixtures/*' | wc -l=> 7 matchesgit grep 'type [^\s]*Options' ':(exclude)app/test/fixtures/*' | wc -l=> 2 matches
I'm gonna remove this change from this PR and maybe revisit this in a separate PR.
This comment has been minimized.
This comment has been minimized.
tierninho
approved these changes
Apr 9, 2020
tierninho
left a comment
Contributor
There was a problem hiding this comment.
Confirming the annotated tags are getting successfully pushed up to the remote.
install.ts:31 Executing push: git -c credential.helper= -c protocol.version=2 push origin master --set-upstream --follow-tags --progress (took 4.774s)
install.ts:31 Executing getAllTags: git tag (took 0.022s)
outofambit
reviewed
Apr 10, 2020
outofambit
approved these changes
Apr 10, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Partially addresses #9435
This PR is based on #9440 since I need to use the
enableGitTagsCreation()feature flag.Description
This PR adds the
--follow-tagsargument to the push commands done on Desktop to be able to push the relevant annotated tags (note that non-annotated tags won't get automatically pushed).See the official docs about the
--follow-tagsargument for more information.An important note is that the docs are a bit misleading, since
--follow-tagswill push any annotated tag that is reachable from any ref available on the remote repository (not only the tags reachable from refs that are getting pushed).Next steps (to be done in separate PRs):
Screenshots
N/A
Release notes
Notes: no-notes