- Go to https://www.drupal.org/node/1344774/git-instructions/8.x-1.x
- Scroll to the bottom of the page to see "Tag for a stable release" examples
- Notice that all examples are for 7.x-1.x
Fix: Update examples to 8.x-1.x:
git checkout 8.x-1.x
git tag 8.x-1.0
git push origin tag 8.x-1.0| Comment | File | Size | Author |
|---|---|---|---|
| #4 | don_t_hardcode_values-2841367-4.patch | 3.45 KB | helmo |
| #2 | do-not-hardcode-new-branch-and-new-tag-2841367-2.patch | 2.85 KB | ao2 |
Comments
Comment #2
ao2 commentedThe issue shows up in the "Creating Releases" section, so only maintainers of the given project experience it.
I cannot see the "Creating Releases" in the link provided by the OP, but I can see that section in the git-instruction page for my own projects, and the suggested tag is indeed wrong.
After giving a glance at the code I see that there are some hardcoded values for the branch and tag.
The attached patch should improve the situation, but obviously I cannot test it.
Thanks,
Antonio
Comment #3
opdaviesThe first visual check looks good.
I have a new D.o dev site to work on, so I'll test it there and make any further changes, if needed.
Thanks!
Comment #4
helmo commentedThanks, looks good.
This new patch also updates the 'Example replacement values' in the admin settings form.
Comment #5
ao2 commentedPing. Can we tag this RTBC?
Comment #7
helmo commentedI suppose so. I'll commit.
Comment #8
helmo commentedComment #10
drummThis was deployed a few days ago.