Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve release action #284

Merged
merged 5 commits into from
Oct 29, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches: [main]
ajeetdsouza marked this conversation as resolved.
Show resolved Hide resolved
pull_request:
tags: ["v[0-9]+.[0-9]+.[0-9]+"]
workflow_dispatch:
ajeetdsouza marked this conversation as resolved.
Show resolved Hide resolved

jobs:
Expand Down Expand Up @@ -40,7 +41,7 @@ jobs:
- name: Set artifact name
shell: bash
run: |
version="$(git describe --tags --match='v*.*.*' --always --broken)"
version="$(git describe --tags --match='v*.*.*' --always)"
name="zoxide-$version-${{ matrix.target }}"
echo "ARTIFACT_NAME=$name" >> $GITHUB_ENV

Expand Down