From 8669fe9bfd617efbeb4830c06f0b9ef0228b78c5 Mon Sep 17 00:00:00 2001 From: PCain02 Date: Thu, 21 Nov 2024 16:50:51 -0500 Subject: [PATCH 1/6] feat: add release and test-release workflow --- .github/workflows/release.yml | 32 ++++++++++++++++++++++++++++++ .github/workflows/test_release.yml | 32 ++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 .github/workflows/release.yml create mode 100644 .github/workflows/test_release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..f66cda6 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,32 @@ +# Release workflow + +name: Create Release + +# Use more columns for terminal output +env: + COLUMNS: 120 + PYTHONIOENCODING: utf8 + +# trigger the release of the +# execexam package to GitHub +# with any tag starting with 'v' +on: + push: + tags: + - 'v*' + +jobs: + create-release: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Create Release with Auto-Generated Notes + uses: actions/create-release@v1 + with: + tag_name: ${{ github.ref_name }} + release_name: "${{ github.ref_name }}" + generate_release_notes: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/test_release.yml b/.github/workflows/test_release.yml new file mode 100644 index 0000000..79dea88 --- /dev/null +++ b/.github/workflows/test_release.yml @@ -0,0 +1,32 @@ +# Test Release workflow + +name: Create Test Release + +# Use more columns for terminal output +env: + COLUMNS: 120 + PYTHONIOENCODING: utf8 + +# trigger the test release of the +# execexam package to GitHub +# with any tag starting with 'r' +on: + push: + tags: + - 't*' + +jobs: + create-release: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Create Release with Auto-Generated Notes + uses: actions/create-release@v1 + with: + tag_name: ${{ github.ref_name }} + release_name: "${{ github.ref_name }}" + generate_release_notes: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 530c83332799bf276d71caf4d6d7e5cab19c2ac3 Mon Sep 17 00:00:00 2001 From: PCain02 Date: Thu, 21 Nov 2024 16:52:49 -0500 Subject: [PATCH 2/6] Test Release: Bump version to 0.3.41 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 11bb85d..165aa54 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "execexam" -version = "0.3.2" +version = "0.3.41" description = "ExecExam runs executable examinations, providing feedback and assistance!" authors = ["Hemani Alaparthi ","Gregory M. Kapfhammer "] readme = "README.md" From efb597e6be5422e800b86fdd01ad9e683e75004d Mon Sep 17 00:00:00 2001 From: PCain02 Date: Thu, 21 Nov 2024 17:03:51 -0500 Subject: [PATCH 3/6] Chore: update pyproject.toml file --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 165aa54..ac58377 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,8 @@ [tool.poetry] name = "execexam" -version = "0.3.41" +version = "0.3.2" description = "ExecExam runs executable examinations, providing feedback and assistance!" -authors = ["Hemani Alaparthi ","Gregory M. Kapfhammer "] +authors = [Pallas-Athena Cain ", "Hemani Alaparthi ","Gregory M. Kapfhammer "] readme = "README.md" [tool.poetry.scripts] From af9884ad9327d3b7fa4e6e1f8891b3e4ebb4510a Mon Sep 17 00:00:00 2001 From: Pallas Cain <89534001+PCain02@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:10:17 -0500 Subject: [PATCH 4/6] Fix: Typo in pyproject.toml to make author name a string --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ac58377..ce9631d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ name = "execexam" version = "0.3.2" description = "ExecExam runs executable examinations, providing feedback and assistance!" -authors = [Pallas-Athena Cain ", "Hemani Alaparthi ","Gregory M. Kapfhammer "] +authors = ["Pallas-Athena Cain ", "Hemani Alaparthi ","Gregory M. Kapfhammer "] readme = "README.md" [tool.poetry.scripts] From 975ba7484d9c9fb56d3bdb229e370d867116aef6 Mon Sep 17 00:00:00 2001 From: Pallas Cain <89534001+PCain02@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:17:37 -0500 Subject: [PATCH 5/6] Fix: Rename test_release.yml to test-release.yml to be consistent --- .github/workflows/{test_release.yml => test-release.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{test_release.yml => test-release.yml} (92%) diff --git a/.github/workflows/test_release.yml b/.github/workflows/test-release.yml similarity index 92% rename from .github/workflows/test_release.yml rename to .github/workflows/test-release.yml index 79dea88..50c8ad5 100644 --- a/.github/workflows/test_release.yml +++ b/.github/workflows/test-release.yml @@ -29,4 +29,4 @@ jobs: release_name: "${{ github.ref_name }}" generate_release_notes: true env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 32adef5a51dffc2ced1ce850ec7ce4bf770b6a2f Mon Sep 17 00:00:00 2001 From: Pallas Cain <89534001+PCain02@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:31:58 -0500 Subject: [PATCH 6/6] Fix: Update pyproject.toml alphabetize authors --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ce9631d..1e5421a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ name = "execexam" version = "0.3.2" description = "ExecExam runs executable examinations, providing feedback and assistance!" -authors = ["Pallas-Athena Cain ", "Hemani Alaparthi ","Gregory M. Kapfhammer "] +authors = ["Hemani Alaparthi ","Pallas-Athena Cain ","Gregory M. Kapfhammer "] readme = "README.md" [tool.poetry.scripts]