Skip to content

Commit

Permalink
Revert pipeline versioning due to permission issues for a while
Browse files Browse the repository at this point in the history
  • Loading branch information
canack committed Jan 9, 2024
1 parent d527d48 commit 742c42d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,6 @@ jobs:
id: get_latest_tag
run: echo "LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)" >> $GITHUB_ENV

- name: Update Version in main.go
run: |
sed -i "s/var.*Version.*/var Version = \"${{ env.LATEST_TAG }}\" \/\/ will be set by build flag/g" main.go
go fmt main.go
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add main.go
git commit -m "Update version to ${{ env.LATEST_TAG }}"
git fetch
git branch -f main HEAD
git checkout main
git push origin main
- name: Build for Linux, Windows, macOS using Makefile
run: make all

Expand Down

0 comments on commit 742c42d

Please sign in to comment.