Skip to content

Commit

Permalink
Merge pull request #54 from AkihiroSuda/hub-to-gh
Browse files Browse the repository at this point in the history
  • Loading branch information
fuweid authored Oct 9, 2023
2 parents 5c80c36 + a9af713 commit 04efe64
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,8 @@ jobs:
- name: "Prepare the release note"
working-directory: go/src/github.com/containerd/fuse-overlayfs-snapshotter
run: |
tag="${GITHUB_REF##*/}"
shasha=$(sha256sum _output/SHA256SUMS | awk '{print $1}')
cat <<-EOF | tee /tmp/release-note.txt
${tag}
(To be documented)
- - -
The binaries were built automatically on GitHub Actions.
Expand All @@ -49,6 +46,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
tag="${GITHUB_REF##*/}"
asset_flags=()
for f in _output/*; do asset_flags+=("-a" "$f"); done
hub release create "${asset_flags[@]}" -F /tmp/release-note.txt --draft "${tag}"
gh release create -F /tmp/release-note.txt --draft --title "${tag}" "${tag}" _output/*

0 comments on commit 04efe64

Please sign in to comment.