Follow these steps to create a new release of the web app, Deepsyence.
-
Create a new release on GitHub as
pre-release
. Set the releasetag
to the value of target application version and prefix it withv
(for examplev1.0.0
for Deepsyence version1.0.0
). Enter release title and release notes. Release needs to stay aspre-release
for GitHub Actions to be able to attach installers to the release. -
Make sure that application is building, installing and running properly.
-
In the main branch, create a branch preferably with the name
release-v<new-version>
. -
Change the version in package.json file. This is necessary for GitHub Actions to be able to attach installers to the release. (for example
"version": "1.0.0"
). -
GitHub Actions will upload the built assets to GH Page only if a release of type
pre-release
with tag matching the Deepsyence's version with av
prefix is found. For example, if the Deepsyence version in the PR is1.0.0
, the installers will be uploaded to a release that is flagged aspre-release
and has a tagv1.0.0
. New commits to this branch will overwrite the installer assets of the release. -
Once all the changes are complete, and installers are uploaded to the release then publish the release.