-
Notifications
You must be signed in to change notification settings - Fork 36
Nightly Bump Version Workflow ‐ GitHub Actions Automation
This page describes the Nightly bump version workflow implemented for the tudatpy repository to automate the process of bumping the dev version number and releasing a new tudatpy dev conda package.
-
Trigger: The workflow is triggered automatically at 05:00 AM CET every day.
-
Action: After the workflow is triggered, it checks for any new commits on the develop branch of the tudatpy repository in the last 24 hours. If there are new commits detected, the following actions are performed:
- Bump version in tudatpy: Bump the dev version number in
version
and.bumpversion.cfg
, create a tag, and push the tag and the bump version commit to the develop branch of the tudatpy repository - Bump dev version in tudatpy-feedstock: Bump the dev version number in meta.yml, create a tag, and push the tag and the bump version commit to the develop branch of the tudatpy-feedstock repository. This commit on the develop branch of tudatpy-feedstock triggers the azure pipelines resulting in the creation of a tudatpy dev conda package with this version number.
- Bump version in tudatpy: Bump the dev version number in
-
The workflow is implemented as a GitHub action workflow. It runs automatically every day at a specified time (01:00 AM CET).
-
The workflow lives in the master branch, but performs write actions on the develop branch. This is because GitHub requires scheduled GitHub action workflows to be implemented in the default branch.
-
Personal Access Token: This GitHub Actions workflow uses a personal access token to bump version, create a tag, and push the tag to tudat-feedstock repository. See issue #232 for information on how this token is setup.