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

feat: added support for release automation #849

Merged
merged 6 commits into from
Jul 15, 2024

Conversation

quiet-node
Copy link
Member

@quiet-node quiet-node commented Jul 12, 2024

Description:

  • added .github/release.yml for release note auto-generation
  • added .github/release-automation.yml for auto branch_bump_tag & auto create_snapshot_pr
  • added check-pr-label-milestone workflow

Fixes #714

@quiet-node quiet-node linked an issue Jul 12, 2024 that may be closed by this pull request
@quiet-node quiet-node requested a review from a team as a code owner July 12, 2024 19:41
@quiet-node quiet-node self-assigned this Jul 12, 2024
@quiet-node quiet-node added the enhancement New feature or request label Jul 12, 2024
@quiet-node quiet-node added this to the 0.8.0 milestone Jul 12, 2024
@quiet-node quiet-node force-pushed the 714-smart-contracts-release-automation branch from 0a6e11e to b74ec69 Compare July 12, 2024 20:59
@quiet-node quiet-node modified the milestones: 0.8.0, 0.9.0 Jul 12, 2024
Copy link
Contributor

@rbarkerSL rbarkerSL left a comment

Choose a reason for hiding this comment

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

Some updates needed in pr-label-milestone-check.yml

.github/workflows/pr-label-milestone-check.yml Outdated Show resolved Hide resolved
.github/workflows/pr-label-milestone-check.yml Outdated Show resolved Hide resolved
.github/workflows/pr-label-milestone-check.yml Outdated Show resolved Hide resolved
rbarkerSL
rbarkerSL previously approved these changes Jul 15, 2024
Copy link
Contributor

@rbarkerSL rbarkerSL left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

github-actions bot commented Jul 15, 2024

Test Results

  16 files    77 suites   6m 53s ⏱️
245 tests 237 ✔️ 7 💤 1
263 runs  254 ✔️ 8 💤 1

For more details on these failures, see this check.

Results for commit b7c3f89.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@acuarica acuarica left a comment

Choose a reason for hiding this comment

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

looking good

run: npm ci

- name: Bump Versions
run: npm run bump-version --semver=${{ env.NEXT_VERSION_SNAPSHOT }} --snapshot=true
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it snapshot=true being used? Otherwise should we remove it?

Suggested change
run: npm run bump-version --semver=${{ env.NEXT_VERSION_SNAPSHOT }} --snapshot=true
run: npm run bump-version --semver=${{ env.NEXT_VERSION_SNAPSHOT }}

run: npm ci

- name: Bump Versions
run: npm run bump-version --semver=${{ env.NEXT_VERSION_SNAPSHOT }} --snapshot=true
Copy link
Contributor

Choose a reason for hiding this comment

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

In case snapshot=true is not used (see other comment), should we also replace the bump-version script with npm version. AFAIS they both have the same effect, updating both package.json and package-lock.json.

Suggested change
run: npm run bump-version --semver=${{ env.NEXT_VERSION_SNAPSHOT }} --snapshot=true
run: npm version ${{ env.NEXT_VERSION_SNAPSHOT }}

Copy link
Member Author

Choose a reason for hiding this comment

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

Pushed in the new update.

This reverts commit f18a358.

Signed-off-by: Logan Nguyen <[email protected]>
Copy link
Contributor

@acuarica acuarica left a comment

Choose a reason for hiding this comment

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

great stuff!

Copy link
Contributor

@rbarkerSL rbarkerSL left a comment

Choose a reason for hiding this comment

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

LGTM

@quiet-node quiet-node merged commit 80c2027 into main Jul 15, 2024
26 of 30 checks passed
@quiet-node quiet-node deleted the 714-smart-contracts-release-automation branch July 15, 2024 18:59
@quiet-node quiet-node restored the 714-smart-contracts-release-automation branch August 9, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Smart Contracts release automation
3 participants