Skip to content

Commit

Permalink
change name of release workflow, and update command to get latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
marianina8 committed May 24, 2024
1 parent 2c086a7 commit 03ef268
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/chocolatey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@
- name: Find Latest Tag
id: latesttag
run: |
latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`)
echo "::set-output name=tag::$latest_tag"
- name: Debug Latest Tag
run: |
echo "Latest Tag: $steps.latesttag.outputs.tag"
latest_tag=$(git tag -l | sort -V | tail -n 1)
echo "latest_tag=$latest_tag" >> $GITHUB_ENV
- name: Print Working Directory
run: pwd
- name: List Files in Repository Root
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: goreleaser
name: releaser

on:
push:
Expand Down

0 comments on commit 03ef268

Please sign in to comment.