diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4770e11c4..fa5ad511d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,6 @@ jobs: if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'develop' runs-on: ubuntu-latest name: Bump Current Version - needs: [validate-release, test-cover, test-race] outputs: new_tag: ${{ steps.bump.outputs.new_tag }} steps: diff --git a/.taskfiles/Postgres.yml b/.taskfiles/Postgres.yml index 61517e17f..9b6acd420 100644 --- a/.taskfiles/Postgres.yml +++ b/.taskfiles/Postgres.yml @@ -13,11 +13,20 @@ tasks: init: desc: Initialize postgresql silent: true - dir: deploy + dir: deploy/apps/chainindex cmds: - - cmd: sudo -u postgres psql -f deploy/apps/chainindex/seed.sql + - cmd: sudo -u postgres psql -f seed.sql platforms: - linux - - cmd: sudo -u postgres psql -d chainindex -f deploy/apps/chainindex/schema.sql + - cmd: sudo -u postgres psql -d chainindex -f schema.sql + platforms: + - linux + + reset: + desc: Reset postgresql + silent: true + dir: deploy/apps/chainindex + cmds: + - cmd: sudo -u postgres psql -d chainindex -f reset.sql platforms: - linux