Skip to content

Clarify in release docs NOT to use github tagging. #14985

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

Closed
galak opened this issue Mar 28, 2019 · 2 comments
Closed

Clarify in release docs NOT to use github tagging. #14985

galak opened this issue Mar 28, 2019 · 2 comments
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug

Comments

@galak
Copy link
Collaborator

galak commented Mar 28, 2019

If we use github to tag it doesn't create an 'annotated' tag for a pre-release (not sure if it does for a release).

So we get:

[galak@spiff zephyr]$ git describe 
v1.14.0-rc1-1540-g12bf7e6ead

Where git describe --tag does:

[galak@spiff zephyr]$ git describe  --tags
v1.14.0-rc2-302-g12bf7e6ead
@galak galak added the bug The issue is a bug, or the PR is fixing a bug label Mar 28, 2019
@galak
Copy link
Collaborator Author

galak commented Mar 28, 2019

Not sure if we want to add --tag to 'git describe' or try and make sure we always annotate tags?

galak added a commit to galak/zephyr that referenced this issue Mar 28, 2019
If we tag via github a pre-release we don't get an annotated tag.  So
the BUILD_VERSION isn't reported correctly.  We can fix this via adding
--tags to 'git describe'.

Fixes zephyrproject-rtos#14985

Signed-off-by: Kumar Gala <[email protected]>
@galak
Copy link
Collaborator Author

galak commented Mar 28, 2019

We should handle this via tagging by hand and not via github. Want to update https://docs.zephyrproject.org/latest/development_process/release_process.html#tagging

to clarify NOT to use github.

@galak galak changed the title BUILD_VERSION isn't getting proper tag value Clarify in release docs NOT to use github tagging. Mar 28, 2019
galak added a commit to galak/zephyr that referenced this issue Mar 28, 2019
Add a note in the tagging section of the release process that explains
why using GitHub release process for tags should NOT be done.

Fixes zephyrproject-rtos#14985

Signed-off-by: Kumar Gala <[email protected]>
carlescufi pushed a commit that referenced this issue Mar 29, 2019
Add a note in the tagging section of the release process that explains
why using GitHub release process for tags should NOT be done.

Fixes #14985

Signed-off-by: Kumar Gala <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants