Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Release process fix & major/minor/rev macro addition#8126

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
d-a-v merged 11 commits intoesp8266:masterfromd-a-v:releaseprocessfix
Jun 16, 2021

Conversation

@d-a-v
Copy link
Collaborator

  • Release process update is based onrelease 3.0.0 #8034.
  • makecorever.py is now used as part of the release process script.
  • MAJOR/MINOR/REVISION are added incore_version.h based onplatform.txt'sversion when building with Arduino-CLI, or git tag when releasing. PlatformIO will have to be updated too (this is not addressed here).

This is WIP but is going to be merged anyway in order to try the release script executed remotely by CI.
A tag will be added (3.0.1) and removed right after that (this gymnastic happens quite often while releasing these days).
This will allow to check generated logs and archive to address#8049

@d-a-vd-a-v added the alphaincluded in alpha release labelJun 15, 2021
proc=subprocess.Popen(cmd,stdout=subprocess.PIPE,universal_newlines=True,stderr=subprocess.DEVNULL)
returnproc.stdout.readlines()[0].strip()

git_desc=platform_version;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Following the above, should this have additional param to skip git-describe?
Meaning, this still could still work with a shallow copy or with some broken tagging (like github actions checkout does)

Copy link
CollaboratorAuthor

@d-a-vd-a-vJun 16, 2021
edited
Loading

Choose a reason for hiding this comment

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

Tagging works OK including when used by github-action. Releases are based on tagging.
I updated the script per your 3 reviews and added comments.

Copy link
Collaborator

Choose a reason for hiding this comment

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

broken == checkout doinggit fetch origin +$commit-sha$:refs/tags/$tag-name$, which is worked around with fetch-depth:0... which could be avoided

my only problem with that is that version string depends on too much stuff, where we already know it from the tag name anyway; and commit sha comes from rev-parse regardless, shallow copy or not.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@mcsprmcsprmcspr left review comments

Assignees

No one assigned

Labels

alphaincluded in alpha release

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@d-a-v@mcspr

[8]ページ先頭

©2009-2025 Movatter.jp