Skip to content
Merged
Show file tree
Hide file tree
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
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,16 @@ jobs:
SHORT_SHA=$(echo "$COMMIT_SHA" | cut -c1-7)
echo "tag=v${VERSION}+${SHORT_SHA}" >> $GITHUB_OUTPUT

# Find packages directory (container.sh puts it under build/in_container/*/build/packages)
PACKAGES_DIR=$(find build -type d -name packages | head -1)
echo "packages_dir=$PACKAGES_DIR" >> $GITHUB_OUTPUT

# Generate checksums
cd build/packages
cd "$PACKAGES_DIR"
sha256sum *.src.rpm > SHA256SUMS

# Build release body with checksums embedded
cd ../..
cd -
cat > release_body.md << EOF
Release of Common Low Level Tracing Kit

Expand All @@ -155,7 +159,7 @@ jobs:

## Checksums (SHA256)
\`\`\`
$(cat build/packages/SHA256SUMS)
$(cat "$PACKAGES_DIR/SHA256SUMS")
\`\`\`
EOF

Expand All @@ -167,5 +171,5 @@ jobs:
name: ${{ steps.release_info.outputs.version }}
body_path: release_body.md
files: |
build/packages/*.src.rpm
build/packages/SHA256SUMS
${{ steps.release_info.outputs.packages_dir }}/*.src.rpm
${{ steps.release_info.outputs.packages_dir }}/SHA256SUMS
4 changes: 3 additions & 1 deletion VERSION.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
1.2.59
1.2.60

# Change log
## 1.2.60
- fix: release workflow now finds packages in correct container output path
## 1.2.59
- ci: use ccache with GitHub cache to speed up builds
## 1.2.58
Expand Down