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: Automate Bump Version, Create Release and Generate Artifacts using GitHub Action #124

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chaintng
Copy link

@chaintng chaintng commented Dec 21, 2024

Overview

  • Sample Plugin is like a boilerplate for building community plugin.
  • This MR will ease the process after the maintainer finish the code changes
    by doing following things in CI/CD using GitHub Actions

Features

After maintainer make a new commit to their project's main branch (main or master)

  1. GitHub Action will create new commit and increment version property in package.json and manifest.json files
    image
  2. It also Create a Release and automatically attached build artifacts.
    image
    image

Basically, developers or maintainers will only have to care about the code part,
and let CI/CD (GitHub Action) handle the rest 🎉

Demo

CAUTIONS

Your next git push might get REJECTED because the local
master branch isn’t up-to-date with the remote one.

How to Fix It ?

  1. Update your branch with the latest changes by running
  • git pull --rebase
  1. 🎉 That’s it! Now try pushing again. You shouldn’t see the error anymore.
  • git push

image

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.

1 participant