This project is used to package the Stratos-UI.
To generate a new release, you can use the bin/release
script. This script will:
- Reset the working directory to the root of the repository.
- Update submodules.
- Check for the latest tag in the
stratos-ui
submodule. - If a new version is found, it will check out the new tag, commit the changes, and push the new tag to the repository.
-
Ensure you have the necessary permissions to push changes to the repository.
-
Open a terminal and navigate to the root of the repository.
-
Run the following command:
./bin/release
-
The script will handle the rest, including fetching the latest version, updating the submodule, and pushing the new tag.
The repository includes a GitHub Actions workflow defined in .github/workflows/releaser.yml
. This workflow is triggered on new tags matching the pattern v[0-9]+.[0-9]+.[0-9]+
or v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
.
The workflow performs the following steps:
- Checks out the repository.
- Sets up Go.
- Packages the
stratos-ui
submodule. - Creates a new release with the packaged files.