|
1 | | -# agile-github-actions-test |
2 | | -Here I will Test Github Actions for Agile |
| 1 | +# Wished Workflow |
| 2 | + |
| 3 | +- **1** Edit Packages in Branch develop |
| 4 | +- **2** Create Issue wich represent the Version increase |
| 5 | +- **3** Entter a comment in the before created issue like '/create release [branch]' |
| 6 | + - **3.1** Increases the Version count in the packages that have updated |
| 7 | + - **3.2** Creates new branch from [branch] and creates a Pull Request called after the new Version |
| 8 | + - **3.3** Tests the whole Project |
| 9 | +- **4** Merge the Pull Request into master |
| 10 | + - **4.1** Checks if Tag with version exists, if so exit |
| 11 | + - **4.2** Creates new Release and Tag called after the version |
| 12 | + - **4.3** Puplishes Packages to npm that version has changed compared on the last release |
| 13 | + |
| 14 | +# Options |
| 15 | + |
| 16 | +## [Changeset][1] |
| 17 | +- **1** Edit Packages in Branch develop |
| 18 | +- **2** Type Command 'yarn changeset' in the wished [branch] |
| 19 | + - **2.1** It does list all branches in the cmd and shows which branches have changed |
| 20 | + - **2.2** Select the branches whose version has to be updated |
| 21 | + - **2.3** It gives you the option of (major, minor, patch) version bumps |
| 22 | + - **2.4** Enter a summory |
| 23 | + - **2.5** Confirm selection |
| 24 | + - This creates a file in the '.changeset' folder that includes all the changes wished version changes |
| 25 | +- **3** Merge the [branch] into the master |
| 26 | + - **3.1** Creates new branch based called 'changesets/release' |
| 27 | + - **3.2** Updates the version based on the generated file in '.changeset' |
| 28 | + - **3.3** Creates pull request back into the master |
| 29 | + - **3.4** |
| 30 | + |
| 31 | +[1]: https://github.com/changesets/action |
| 32 | + |
| 33 | + |
| 34 | + |
0 commit comments