Skip to content
Open
Changes from all commits
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
7 changes: 4 additions & 3 deletions .github/workflows/install.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Install Script Test

on:
push:
release:
types:
- published
workflow_dispatch:

permissions:
Expand All @@ -24,8 +25,8 @@ jobs:
steps:
- name: Install Default Version (Latest Release)
run: |
BRANCH=${{ github.ref_name }}
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/calypr/git-drs/$BRANCH/install.sh)"
TAG=${{ github.event_name == 'release' && github.event.release.tag_name || 'latest' }}
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/calypr/git-drs/refs/tags/$TAG/install.sh)"
source $HOME/.bashrc
which git-drs
git-drs --help