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
11 changes: 3 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,6 @@ jobs:
- name: Install Syft
uses: anchore/sbom-action/download-syft@43a17d6e7add2b5535efe4dcae9952337c479a93 # v0.20.11

- name: Generate Source SBOM
run: |
VERSION_NUM=${{ needs.check-release.outputs.tag_name }}
VERSION_NUM=${VERSION_NUM#v}
# Generate SBOM from source (includes go.mod dependencies)
syft dir:. --output "cyclonedx-json=dashlights_${VERSION_NUM}_source.sbom.json"

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6
with:
Expand All @@ -80,12 +73,14 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Source SBOM
- name: Generate and Upload Source SBOM
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
VERSION=${{ needs.check-release.outputs.tag_name }}
VERSION_NUM=${VERSION#v}
# Generate SBOM from source (includes go.mod dependencies)
syft dir:. --output "cyclonedx-json=dashlights_${VERSION_NUM}_source.sbom.json"
gh release upload "$VERSION" "dashlights_${VERSION_NUM}_source.sbom.json" --clobber

# Build, sign, and notarize macOS binaries separately
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.7-slsa-2] - 2025-12-17

### Fixed
- Corrected the order of steps in the release process to ensure proper packaging and deployment


## [1.0.7-slsa] - 2025-12-17

### Changed
Expand Down
Loading