From 8ec2f32109b018cc55813bbee658eef94ff3e59d Mon Sep 17 00:00:00 2001 From: puria Date: Tue, 18 Jun 2024 15:11:04 +0200 Subject: [PATCH] fix: omit releasing for now --- .github/workflows/go.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5fac86d..bb12c0c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -37,31 +37,3 @@ jobs: - name: Build run: go build -o tgcom ./cmd/tgcom - - name: Semantic Versioning - id: semver - run: | - VERSION=$(git describe --tags --abbrev=0) - if [ -z "$VERSION" ]; then - VERSION="v0.1.0" - else - VERSION=$(echo "$VERSION" | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g') - fi - echo "New version: $VERSION" - echo "::set-output name=version::$VERSION" - - release: - needs: build - name: Release - if: github.ref == 'refs/heads/main' && github.event_name == 'push' - runs-on: ubuntu-latest - - steps: - - name: Create release - uses: actions/create-release@v1 - with: - tag_name: ${{ needs.build.outputs.semver }} - release_name: ${{ needs.build.outputs.semver }} - body: | - Release ${{ needs.build.outputs.semver }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}