rss email digests over ssh because you're a cool kid herald.dunkirk.sh
go rss rss-reader ssh charm

fix: correct archive name capitalization

dunkirk.sh 1d8103de af08d268

verified
+7 -3
+7 -3
.github/workflows/release.yml
··· 74 74 -o ${BINARY_NAME} \ 75 75 . 76 76 77 - # Create archive 78 - ARCHIVE_NAME="herald_$(echo ${{ matrix.goos }} | sed 's/.*/\u&/')_${{ matrix.goarch == 'amd64' && 'x86_64' || matrix.goarch }}" 77 + # Create archive with proper capitalization 78 + OS_CAPITALIZED="$(echo ${{ matrix.goos }} | awk '{print toupper(substr($0,1,1)) tolower(substr($0,2))}')" 79 + ARCH_NAME="${{ matrix.goarch == 'amd64' && 'x86_64' || matrix.goarch }}" 80 + ARCHIVE_NAME="herald_${OS_CAPITALIZED}_${ARCH_NAME}" 79 81 80 82 if [ "${{ matrix.goos }}" = "windows" ]; then 81 83 zip "${ARCHIVE_NAME}.zip" ${BINARY_NAME} LICENSE.md README.md config.example.yaml ··· 87 89 env: 88 90 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 89 91 run: | 90 - ARCHIVE_NAME="herald_$(echo ${{ matrix.goos }} | sed 's/.*/\u&/')_${{ matrix.goarch == 'amd64' && 'x86_64' || matrix.goarch }}" 92 + OS_CAPITALIZED="$(echo ${{ matrix.goos }} | awk '{print toupper(substr($0,1,1)) tolower(substr($0,2))}')" 93 + ARCH_NAME="${{ matrix.goarch == 'amd64' && 'x86_64' || matrix.goarch }}" 94 + ARCHIVE_NAME="herald_${OS_CAPITALIZED}_${ARCH_NAME}" 91 95 92 96 if [ "${{ matrix.goos }}" = "windows" ]; then 93 97 gh release upload ${{ github.ref_name }} "${ARCHIVE_NAME}.zip"