That's excellent news Dirk!  That means the process I want to follow will
work perfectly.  Since I tag as I checkout from a branch, my tag will apply
to that entire branch at that point in time.  That way, when I later check
out by tag, I will have that branch at that point in time.  In the past,
we've used the same labels on different branches, though.  But since github
tags aren't a respecter of branches, I'll have to just use a different
naming schema in dev branches vs. the prod branch.  So for dev, I might
have 1.0.0.1.1, 1.0.0.1.2, 1.0.0.1.3, and then when that gets merged to the
master, I'd build 1.0.0.1.  Does this strategy make sense?  Thanks!  Eric

On Fri, Apr 16, 2021 at 12:10 AM 'Dirk Heinrichs' via Jenkins Users <
jenkinsci-users@googlegroups.com> wrote:

> Am Donnerstag, den 15.04.2021, 08:47 -0600 schrieb Eric Fetzer:
>
> So here's what blows my mind about a tag.  If I go to the tag in GitHub
> Enterprise, it has a .zip and .tar.gz associated with it.  If I unpack that
> file, it has the entire contents of the repository in it.  That seems like
> a view label to me.  But yet all of the documentation talks about the tag
> as a change set.  I don't get it!
>
>
> GitHub, GitLab, <place name here>, and all those sites are *NOT* Git.
> They are collaboration platforms that *use* Git for source code
> management and offer some additional tooling around it. One such offer is
> to allow the user to download a ZIP or Tar archive of a particular state of
> a repository (i.o.w.: a snapshot, w/o the history), which can be identified
> by a Git tag, but also by a changeset identifier (for example:
> https://github.com/saltstack/salt/archive/d240e450f449f16ef176a9cb563b9f0447687a6e.zip).
> These are usually created on the fly when someone requests the download.
>
> Speaking of Git tags (or branches): They're all the same, a reference to a
> specific changeset. The only difference is that branch refs are a moving
> target (they always reference the latest changeset of a particular branch
> of development), while tags are not.
>
> HTH...
>
> Dirk
>
> --
>
> *Dirk Heinrichs*
> Senior Systems Engineer, Delivery Pipeline
> OpenText ™ Discovery | Recommind
> *Phone*: +49 2226 15966 18
> *Email*: dhein...@opentext.com
> *Website*: www.recommind.de
> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan,
> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy this e-mail. Any
> unauthorized copying, disclosure or distribution of the material in this
> e-mail is strictly forbidden
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
> Weitergabe dieser Mail sind nicht gestattet.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/UGyBIx3pX9s/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/eed9236d95231f0893d0e6a90bc399e28ade9564.camel%40opentext.com
> <https://groups.google.com/d/msgid/jenkinsci-users/eed9236d95231f0893d0e6a90bc399e28ade9564.camel%40opentext.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAByBicaGN2J3H0z-a5ckFBACGr3L_CSQcb6cV1iXu9qBd11EvQ%40mail.gmail.com.

Reply via email to