aragon / aragon-apps

(Aragon 1) Aragon apps developed by Aragon Core Devs (smart contracts + webapps)
https://aragon.org/discover
GNU Affero General Public License v3.0
388 stars 212 forks source link

[cicd] adds auto release workflow #1320

Closed mathewmeconry closed 3 years ago

mathewmeconry commented 3 years ago

Changes

The new workflow automatically creates new Github Releases in this repo for the apps mentioned in the labels of the merged pull request. The workflow only runs if the pull request is merged to the master branch and only adds new releases for the apps mentioned in the labels. It also automatically bumps the version number of the app by the level also configured in the tags. It does not publish the release to the apm registry. It only runs the dry run method to get the ipfs hash and the apm version number. New Github Releases will be created per chain (mainnet, rinkeby, mumbai, polygon) and app.

Example

A pull request with the labels voting:patch and token-manager:major gets merged to the master branch. Then the workflow will create 4 new Github Releases for voting with the new version numbers bumped by patch and 4 new Github Releases for the token-manager app with new version numbers bumped by major.

To Be Done

Misc

The labels voting:patch, mumbai and rinkeby are added to test the workflow

welcome[bot] commented 3 years ago

Thanks for opening this pull request! Someone will review it soon 🔍