From 92a8cf66e4e1a30ae64749a5d2e448f53d519953 Mon Sep 17 00:00:00 2001 From: Hanwen Date: Mon, 1 Jul 2024 12:20:19 -0700 Subject: [PATCH 1/2] Add Github Manual workflow to bump version --- .github/workflows/bump_version.yml | 38 ++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/bump_version.yml diff --git a/.github/workflows/bump_version.yml b/.github/workflows/bump_version.yml new file mode 100644 index 00000000..746fbcb7 --- /dev/null +++ b/.github/workflows/bump_version.yml @@ -0,0 +1,38 @@ +# Bump Version workflow that is triggered manually +name: Bump Version + +on: + workflow_dispatch: + # Inputs the workflow accepts. + inputs: + pcluster-version: + description: 'The target version of ParallelCluster CLI' + required: true + type: string + branch: + description: 'The Github branch name' + required: true + type: string + +jobs: + create-pull-requests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + ref: ${{ inputs.branch }} + - name: Modifiy Code to Change version + run: ./util/bump-version.sh ${{ inputs.pcluster-version }} + + - name: Create a Pull Request + uses: peter-evans/create-pull-request@v6 + with: + commit-message: 'Bump version to ${{ inputs.pcluster-version }}' + title: 'Bump version to ${{ inputs.pcluster-version }}' + body: | + This PR contains version bump. + Auto-generated by Github Action + branch: versionbump${{ inputs.branch }}${{ inputs.pcluster-version }} + delete-branch: true + labels: skip-changelog-update From 12567f4aee7fd93359ab341bdb38dfd2e3640133 Mon Sep 17 00:00:00 2001 From: hanwen-pcluste <68928867+hanwen-pcluste@users.noreply.github.com> Date: Mon, 1 Jul 2024 19:21:06 +0000 Subject: [PATCH 2/2] Bump version to 3.12.0 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index af4cdd68..2311c794 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ def read(fname): "clustermgtd = slurm_plugin.clustermgtd:main", "computemgtd = slurm_plugin.computemgtd:main", ] -version = "3.11.0" +version = "3.12.0" requires = ["boto3>=1.7.55", "retrying>=1.3.3"] setup(