Skip to content
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

Introduce new "v" version format #2374

Merged
merged 1 commit into from
Oct 19, 2023
Merged

Conversation

umbynos
Copy link
Contributor

@umbynos umbynos commented Oct 18, 2023

Please check if the PR fulfills these requirements

See how to contribute

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • configuration.schema.json updated if new parameters are added.

What kind of change does this PR introduce?

Infrastructure change

What is the current behavior?

Fix #2341

What is the new behavior?

We release Arduino CLI with "v" version format
We still use 0.35.x format for the doc branch and internally in the CLI the format is semver-compliant.
Test run after pushing 0.35.x branch: https://github.com/umbynos/arduino-cli/actions?query=branch%3A0.35.x
Test run of release-go-task after pushing v.0.35.0 tag https://github.com/umbynos/arduino-cli/actions/runs/6576137988

Does this PR introduce a breaking change, and is titled accordingly?

Technically no

Other information

@umbynos umbynos added type: enhancement Proposed improvement topic: infrastructure Related to project infrastructure labels Oct 18, 2023
@umbynos umbynos self-assigned this Oct 18, 2023
@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (6d13b16) 62.82% compared to head (b0855fe) 62.77%.
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2374      +/-   ##
==========================================
- Coverage   62.82%   62.77%   -0.06%     
==========================================
  Files         204      205       +1     
  Lines       19311    19283      -28     
==========================================
- Hits        12132    12104      -28     
  Misses       6119     6119              
  Partials     1060     1060              
Flag Coverage Δ
unit 62.77% <ø> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 11 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@alessio-perugini alessio-perugini left a comment

Choose a reason for hiding this comment

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

All the workflow requires the regex starting with the v prefix. This is good if we're 💯 sure that we don't need to release any patch version for the old releases tagged without such a prefix.

IMO I don't think we need to release any patch version for the old release, therefore we can make v prefix mandatory also in the install.sh

install.sh Show resolved Hide resolved
internal/cli/version/version.go Outdated Show resolved Hide resolved
.github/workflows/check-go-dependencies-task.yml Outdated Show resolved Hide resolved
we'll keep 0.35.x release branch name. We'll use "v" only for the tag,
this way the documentation branches will work just like before,
we are using "v" only for the github tag
this way we are semver compliant
@umbynos umbynos merged commit 74cdc80 into arduino:master Oct 19, 2023
101 checks passed
dankeboy36 added a commit to dankeboy36/ardunno-cli-gen that referenced this pull request Oct 22, 2023
From Arduino CLI `>=0.35.0-rc.1`, the `v` prefix is expected in the
GitHub release name.

Ref: arduino/arduino-cli#2374
Signed-off-by: dankeboy36 <[email protected]>
dankeboy36 added a commit to dankeboy36/ardunno-cli-gen that referenced this pull request Oct 22, 2023
From Arduino CLI `>=0.35.0-rc.1`, the `v` prefix is expected in the
GitHub release name. The asset filenames do not contain the prefix.

Ref: arduino/arduino-cli#2374

Signed-off-by: dankeboy36 <[email protected]>
dankeboy36 added a commit to dankeboy36/ardunno-cli-gen that referenced this pull request Oct 22, 2023
From Arduino CLI `>=0.35.0-rc.1`, the `v` prefix is expected in the
GitHub release name. The asset filenames do not contain the prefix.

Ref: arduino/arduino-cli#2374

Signed-off-by: dankeboy36 <[email protected]>
kittaakos pushed a commit to arduino/arduino-ide that referenced this pull request Oct 26, 2023
kittaakos pushed a commit to arduino/arduino-ide that referenced this pull request Nov 13, 2023
kittaakos pushed a commit to arduino/arduino-ide that referenced this pull request Nov 13, 2023
kittaakos pushed a commit to arduino/arduino-ide that referenced this pull request Nov 13, 2023
dankeboy36 added a commit to dankeboy36/install-from-gh-to-vscode that referenced this pull request Dec 6, 2023
dankeboy36 added a commit to dankeboy36/install-from-gh-to-vscode that referenced this pull request Dec 6, 2023
dankeboy36 added a commit to dankeboy36/install-from-gh-to-vscode that referenced this pull request Dec 6, 2023
kittaakos pushed a commit to arduino/arduino-ide that referenced this pull request Dec 13, 2023
kittaakos pushed a commit to arduino/arduino-ide that referenced this pull request Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release Arduino CLI with v prefix
6 participants