Skip to content

feat: auto increase version + update Changelog #224

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

Merged
merged 30 commits into from
Oct 2, 2023
Merged

Conversation

wphyojpl
Copy link
Collaborator

This ticket tries to automate the version increment + changelog for every PR.

This is what workflow I have in mind.

  • A new feature branch is created. It doesn't touch the version file.
  • A Pull Request is created.
  • Normal Github Action is used to create a zip file & terraform zip file with the same version number as develop.
  • A Pull Request is merged to develop
  • This new Github Action is triggered to update the version based on semantic versioning + Changelog
  • A new commit with the new version is added directly to develop. This needs to be tested.
  • Normal Github Action should be triggered again for develop branch with new version.

Note:

  • This PR can only be tested after previous PRs are merged as they already have manually updated version + Changelog.
  • This PR needs to be Squash & Merge as this branch has testing merges in this branch to avoid polluting the develop branch.
  • This branch commit history has an example of this workflow except triggering the existing Github Action as it is only triggered for develop.

wphyojpl and others added 29 commits September 21, 2023 12:48
* fix: add debug statement

* fix: still finding out how to pass env
* fix: add debug statement

* fix: still finding out how to pass env

* fix: cannot use >> in yaml

* fix: add store version shell script in yml
* fix: add debug statement

* fix: still finding out how to pass env

* fix: cannot use >> in yaml

* fix: add store version shell script in yml

* fix: yaml format error
* fix: add debug statement

* fix: still finding out how to pass env

* fix: cannot use >> in yaml

* fix: add store version shell script in yml

* fix: yaml format error

* fix: yaml error again
* fix: add debug statement

* fix: still finding out how to pass env

* fix: cannot use >> in yaml

* fix: add store version shell script in yml

* fix: yaml format error

* fix: yaml error again

* fix: yaml err ???

* should not build now. only during merge

* fix: so puzzling

* fix: removing comments to see if that is the cause

* fix: re-adding commented files
* fix: add debug statement

* fix: still finding out how to pass env

* fix: cannot use >> in yaml

* fix: add store version shell script in yml

* fix: yaml format error

* fix: yaml error again

* fix: yaml err ???

* should not build now. only during merge

* fix: so puzzling

* fix: removing comments to see if that is the cause

* fix: re-adding commented files

* fix: env bug now
* fix: add debug statement

* fix: still finding out how to pass env

* fix: cannot use >> in yaml

* fix: add store version shell script in yml

* fix: yaml format error

* fix: yaml error again

* fix: yaml err ???

* should not build now. only during merge

* fix: so puzzling

* fix: removing comments to see if that is the cause

* fix: re-adding commented files

* fix: env bug now

* fix: script to merge the version update
* fix: add debug statement

* fix: still finding out how to pass env

* fix: cannot use >> in yaml

* fix: add store version shell script in yml

* fix: yaml format error

* fix: yaml error again

* fix: yaml err ???

* should not build now. only during merge

* fix: so puzzling

* fix: removing comments to see if that is the cause

* fix: re-adding commented files

* fix: env bug now

* fix: script to merge the version update

* fix: add git bot username to avoid password
* fix: add debug statement

* fix: still finding out how to pass env

* fix: cannot use >> in yaml

* fix: add store version shell script in yml

* fix: yaml format error

* fix: yaml error again

* fix: yaml err ???

* should not build now. only during merge

* fix: so puzzling

* fix: removing comments to see if that is the cause

* fix: re-adding commented files

* fix: env bug now

* fix: script to merge the version update

* fix: add git bot username to avoid password

* fix:version increment does not work directly
* fix: remove print statement

* fix: remove more print statement
* fix: remove print statement

* fix: remove more print statement

* fix: insert does not work correctly
* fix: remove print statement

* fix: remove more print statement

* fix: insert does not work correctly

* breaking: formatting changelog file
@wphyojpl wphyojpl requested a review from ngachung September 21, 2023 23:11
@wphyojpl wphyojpl merged commit ffbeb26 into develop Oct 2, 2023
@wphyojpl wphyojpl deleted the develop-temp branch October 2, 2023 18:32
@wphyojpl wphyojpl restored the develop-temp branch October 2, 2023 19:08
@wphyojpl wphyojpl deleted the develop-temp branch November 8, 2023 17:54
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.

2 participants