Skip to content

Auto versioning#1344

Merged
Azgaar merged 17 commits intomasterfrom
auto-versioning
Mar 7, 2026
Merged

Auto versioning#1344
Azgaar merged 17 commits intomasterfrom
auto-versioning

Conversation

@Azgaar
Copy link
Copy Markdown
Owner

@Azgaar Azgaar commented Mar 7, 2026

Description

Type of change

  • Bug fix
  • New feature
  • Refactoring / style
  • Documentation update / chore
  • Other (please describe)

Versioning

  • Version is updated
  • Changed files hash is updated

@Azgaar Azgaar self-assigned this Mar 7, 2026
Copilot AI review requested due to automatic review settings March 7, 2026 15:40
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 7, 2026

Deploy Preview for afmg ready!

Name Link
🔨 Latest commit b1dbac0
🔍 Latest deploy log https://app.netlify.com/projects/afmg/deploys/69ac5a71a4c91100080933b2
😎 Deploy Preview https://deploy-preview-1344--afmg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Automates project version bumping and cache-busting updates by introducing a Node-based bump script and a GitHub Actions workflow that runs on PR merge, plus small supporting updates in versioning/changelog UI and supporters list.

Changes:

  • Add scripts/bump-version.js to bump semver across public/versioning.js, package.json, and update ?v= values in src/index.html for changed public/*.js files.
  • Add .github/workflows/bump-version.yml to run the bump script automatically when PRs into master are merged, then commit/push the bump.
  • Refactor public/versioning.js “Latest changes” list into a latestPublicChanges array and update supporters list; update lockfile version metadata.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
scripts/bump-version.js New CLI tool to bump VERSION/package version and update cache-busting query params.
.github/workflows/bump-version.yml New workflow to run the bump script on merged PRs and push the resulting commit.
public/versioning.js Updates versioning guidance text and generates “Latest changes” list from an array.
public/modules/dynamic/supporters.js Adds new supporters to the exported list.
package-lock.json Bumps lockfile version fields and introduces additional lock metadata changes.

Comment thread scripts/bump-version.js
Comment thread scripts/bump-version.js Outdated
Comment thread public/versioning.js Outdated
Comment thread .github/workflows/bump-version.yml
Comment thread .github/workflows/bump-version.yml Outdated
Comment thread .github/workflows/bump-version.yml Outdated
Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 7, 2026

@Azgaar I've opened a new pull request, #1345, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 7, 2026

@Azgaar I've opened a new pull request, #1346, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 7, 2026

@Azgaar I've opened a new pull request, #1347, to work on those changes. Once the pull request is ready, I'll request review from you.

Azgaar and others added 7 commits March 7, 2026 17:00
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ump (#1345)

* Initial plan

* fix: update package-lock.json version fields during version bump

Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
* Initial plan

* fix: update branch name in versioning.js comment from 'main' to 'master'

Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
…*/*.js dynamic imports (#1347)

* Initial plan

* feat: extend bump-version.js to update ?v= hashes in public/**/*.js dynamic imports

Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>

* chore: merge base branch changes (package-lock.json sync, RELEASE_BOT_TOKEN, node 24.x, comment fix)

Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>

* Update scripts/bump-version.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update scripts/bump-version.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
Co-authored-by: Azgaar <maxganiev@yandex.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Azgaar
Copy link
Copy Markdown
Owner Author

Azgaar commented Mar 7, 2026

@copilot, review latest changes.

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 7, 2026

@Azgaar I've opened a new pull request, #1348, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI mentioned this pull request Mar 7, 2026
7 tasks
* Initial plan

* fix: add ref to checkout step and stage public/**/*.js in bump workflow

Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
@Azgaar Azgaar merged commit d7555ff into master Mar 7, 2026
8 checks passed
@Azgaar Azgaar deleted the auto-versioning branch March 7, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants