From f227248d215a4d5ce00dde1c4cf4bead1ffd9adf Mon Sep 17 00:00:00 2001 From: Mike Gray Date: Sun, 11 Feb 2024 20:39:04 -0600 Subject: [PATCH] feat: first PyPi release --- .github/workflows/changelog.yml | 13 --------- .github/workflows/propose_stable_release.yml | 18 +++++++++++++ .github/workflows/publish_alpha_build.yml | 28 ++++++++++++++++++++ 3 files changed, 46 insertions(+), 13 deletions(-) delete mode 100644 .github/workflows/changelog.yml create mode 100644 .github/workflows/propose_stable_release.yml create mode 100644 .github/workflows/publish_alpha_build.yml diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml deleted file mode 100644 index df2c724..0000000 --- a/.github/workflows/changelog.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Changelog -on: - release: - types: - - created -jobs: - changelog: - runs-on: ubuntu-latest - steps: - - name: "Generate release changelog" - uses: heinrichreimer/action-github-changelog-generator@v2.3 - with: - token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/propose_stable_release.yml b/.github/workflows/propose_stable_release.yml new file mode 100644 index 0000000..6f3d1aa --- /dev/null +++ b/.github/workflows/propose_stable_release.yml @@ -0,0 +1,18 @@ +name: Propose Stable Build +on: + workflow_dispatch: + inputs: + release_type: + type: choice + options: + - "patch" + - "minor" + - "major" + +jobs: + build_and_publish: + uses: openvoiceos/.github/.github/workflows/propose_semver_release.yml@feat/shared_actions1 + with: + python_version: "3.10" + version_file: skill_randomness/version.py + release_type: ${{inputs.release_type}} # build, minor, major diff --git a/.github/workflows/publish_alpha_build.yml b/.github/workflows/publish_alpha_build.yml new file mode 100644 index 0000000..1ca51f3 --- /dev/null +++ b/.github/workflows/publish_alpha_build.yml @@ -0,0 +1,28 @@ +name: Publish Alpha Build ...aX +on: + push: + branches: + - dev + paths-ignore: + - "ovos_core/version.py" + - "test/**" + - "examples/**" + - ".github/**" + - ".gitignore" + - "LICENSE" + - "CHANGELOG.md" + - "MANIFEST.in" + - "readme.md" + - "scripts/**" + workflow_dispatch: + +jobs: + build_and_publish: + uses: openvoiceos/.github/.github/workflows/publish_alpha_release.yml@feat/shared_actions1 + secrets: inherit + with: + version_file: skill_randomness/version.py # File location of the version file, default: version.py + python_version: "3.10" + locale_folder: skill_randomness/locale + update_intentfile: test/test_intents.yaml + changelog_file: CHANGELOG.md