From 65c04379241ba70cd088933cbb89c8aac01afd45 Mon Sep 17 00:00:00 2001 From: 0xRy4n Date: Fri, 30 Aug 2024 12:29:21 -0400 Subject: [PATCH] Workflow update, manifest --- .github/workflows/publish.yml | 0 .github/workflows/release.yml | 40 ----------------------------------- MANIFEST.in | 5 +++++ 3 files changed, 5 insertions(+), 40 deletions(-) create mode 100644 .github/workflows/publish.yml delete mode 100644 .github/workflows/release.yml create mode 100644 MANIFEST.in diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..e69de29 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 03749de..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Create Release - -on: - workflow_dispatch: - inputs: - version: - description: 'Version to release' - required: true - push: - tags: - - 'v*' - -jobs: - create-release: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v3 - with: - persist-credentials: false - - - name: Set version - run: | - if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then - echo "RELEASE_VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV - else - echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV - fi - - - name: Create Release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - with: - tag_name: v${{ env.RELEASE_VERSION }} - release_name: Release v${{ env.RELEASE_VERSION }} - body: | - Release of version ${{ env.RELEASE_VERSION }} - draft: false - prerelease: false \ No newline at end of file diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..312902b --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,5 @@ +include README.md +include LICENSE +include requirements.txt +recursive-include transcripter *.py +recursive-include examples *.py *.html *.css \ No newline at end of file