Skip to content

Commit

Permalink
Chg: Remove version from release
Browse files Browse the repository at this point in the history
  • Loading branch information
NiceGuyIT committed Jul 23, 2023
1 parent aba3668 commit 6f836ca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
--output /tmp/${REPO_NAME}-${GITHUB_REF_NAME}.${ARCHIVE_FORMAT} \
--prefix ${REPO_NAME}-${GITHUB_REF_NAME}/ \
--worktree-attributes \
"${GITHUB_REF_NAME}"
"${{ github.event.repository.name }}"
- name: Create ZIP archive
env:
Expand All @@ -60,7 +60,7 @@ jobs:
--output /tmp/${REPO_NAME}-${GITHUB_REF_NAME}.${ARCHIVE_FORMAT} \
--prefix ${REPO_NAME}-${GITHUB_REF_NAME}/ \
--worktree-attributes \
"${GITHUB_REF_NAME}"
"${{ github.event.repository.name }}"
- name: Create release
env:
Expand All @@ -71,4 +71,4 @@ jobs:
--repo="${GITHUB_REPOSITORY}" \
--title="${GITHUB_REPOSITORY#*/} ${tag#v}" \
--generate-notes \
/tmp/${REPO_NAME}-${GITHUB_REF_NAME}.*
/tmp/${REPO_NAME}.*
13 changes: 6 additions & 7 deletions init/Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,14 @@ tasks:
- cmd: |
{{ if ne OS "windows" }}
mkdir --parents "{{.BIN_DIR}}"
{{ end }}
- cmd: |
powershell -NonInteractive -NoProfile -NoLogo -InputFormat text -OutputFormat text -Command - << 'EOT'
if (-not (Test-Path -Path "{{.BIN_DIR}}")) {
New-Item -Path "{{.BIN_DIR}}" -ItemType Directory | Out-Null
}
{{ else }}
powershell -NonInteractive -NoProfile -NoLogo -InputFormat text -OutputFormat text -Command - << 'EOT'
if (-not (Test-Path -Path "{{.BIN_DIR}}")) {
New-Item -Path "{{.BIN_DIR}}" -ItemType Directory | Out-Null
}
EOT
platforms: [windows]
{{ end }}
status:
- test -d "{{.BIN_DIR}}"

Expand Down

0 comments on commit 6f836ca

Please sign in to comment.