diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3feb965..643beda 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,6 +57,9 @@ jobs: ASSET_MIME: application/zip steps: - uses: actions/checkout@v1 + with: + submodules: true + token: ${{ secrets.GITHUB_TOKEN }} - name: Set up Python 3.12 uses: actions/setup-python@v2 with: diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..f73e2a3 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +# Check if a version number argument is provided +if [ $# -ne 1 ]; then + echo "Usage: $0 " + exit 1 +fi + +VERSION=$1 + +# Commands to add files, commit, tag, and push +git add . +git commit -m "v$VERSION" +git tag -a "v$VERSION" -m "Version $VERSION" +git push origin master --tags + + +# RUN with the command ./deploy.sh