diff --git a/.autorc b/.autorc new file mode 100644 index 0000000..161d8a7 --- /dev/null +++ b/.autorc @@ -0,0 +1,9 @@ +{ + "plugins": [ + "git-tag" + ], + "owner": "alexchristy", + "repo": "PyOPN", + "name": "Alex Christy", + "email": "a.christy@ufl.edu" +} \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..deb0f5b --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,29 @@ +name: Prod Release + +on: + push: + branches: + - main + +jobs: + release: + runs-on: ubuntu-latest + if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" + steps: + - uses: actions/checkout@v2 + + - name: Prepare repository + run: git fetch --unshallow --tags + + - name: Set up Node.js + uses: actions/setup-node@v1 + with: + node-version: '12.x' + + - name: Install Auto and Plugins + run: npm install -g @auto-it/git-tag + + - name: Release with Auto + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: npx auto shipit \ No newline at end of file