diff --git a/.github/workflows/scheduled-release.yml b/.github/workflows/scheduled-release.yml index f5e3a192e..f60421677 100644 --- a/.github/workflows/scheduled-release.yml +++ b/.github/workflows/scheduled-release.yml @@ -17,16 +17,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - - name: Get latest tag - run: | - # Fetch all tags - git fetch --tags - # Get the latest tag - LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`) - echo "Latest Tag: $LATEST_TAG" - # Checkout the latest tag - git checkout $LATEST_TAG + with: + fetch-depth: 0 - uses: actions/setup-go@v5 with: diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml index cac39f4da..38d3b9036 100644 --- a/.github/workflows/version-bump.yml +++ b/.github/workflows/version-bump.yml @@ -15,10 +15,6 @@ jobs: name: "Run tests" steps: - uses: actions/checkout@v4 - with: - token: ${{ secrets.GITHUB_TOKEN }} - fetch-depth: 0 - - uses: actions/setup-go@v5 with: go-version: "1.22" diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 7025f5272..86f698ed5 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,4 +1,3 @@ -version: 2 project_name: sonr builds: