use nomos-circuits-{version}-{os}-{arch} convention

This commit is contained in:
David Rusu 2025-11-03 20:07:08 +04:00
parent 07572a928a
commit 28ec78840d
2 changed files with 11 additions and 11 deletions

View File

@ -299,7 +299,7 @@ jobs:
- name: Create Unified Release Bundle - name: Create Unified Release Bundle
env: env:
BUNDLE_NAME: nomos-circuits-${{ env.OS }}-${{ env.ARCH }}-${{ env.VERSION }} BUNDLE_NAME: nomos-circuits-${{ env.VERSION }}-${{ env.OS }}-${{ env.ARCH }}
run: | run: |
# Create the bundle directory structure # Create the bundle directory structure
mkdir -p "${BUNDLE_NAME}"/{pol,poq,zksign,poc} mkdir -p "${BUNDLE_NAME}"/{pol,poq,zksign,poc}
@ -339,8 +339,8 @@ jobs:
- name: Upload Unified Release Bundle - name: Upload Unified Release Bundle
uses: actions/upload-artifact@de65e23aa2b7e23d713bb51fbfcb6d502f8667d8 uses: actions/upload-artifact@de65e23aa2b7e23d713bb51fbfcb6d502f8667d8
with: with:
name: nomos-circuits-${{ env.OS }}-${{ env.ARCH }}-${{ env.VERSION }}.tar.gz name: nomos-circuits-${{ env.VERSION }}-${{ env.OS }}-${{ env.ARCH }}.tar.gz
path: nomos-circuits-${{ env.OS }}-${{ env.ARCH }}-${{ env.VERSION }}.tar.gz path: nomos-circuits-${{ env.VERSION }}-${{ env.OS }}-${{ env.ARCH }}.tar.gz
build-windows: build-windows:
name: Build Windows Binaries (Native) name: Build Windows Binaries (Native)
@ -576,8 +576,8 @@ jobs:
- name: Upload Unified Release Bundle - name: Upload Unified Release Bundle
uses: actions/upload-artifact@de65e23aa2b7e23d713bb51fbfcb6d502f8667d8 uses: actions/upload-artifact@de65e23aa2b7e23d713bb51fbfcb6d502f8667d8
with: with:
name: nomos-circuits-${{ env.OS }}-${{ env.ARCH }}-${{ env.VERSION }}.tar.gz name: nomos-circuits-${{ env.VERSION }}-${{ env.OS }}-${{ env.ARCH }}.tar.gz
path: nomos-circuits-${{ env.OS }}-${{ env.ARCH }}-${{ env.VERSION }}.tar.gz path: nomos-circuits-${{ env.VERSION }}-${{ env.OS }}-${{ env.ARCH }}.tar.gz
build-macos: build-macos:
name: Build MacOS Binaries (Native) name: Build MacOS Binaries (Native)
@ -735,7 +735,7 @@ jobs:
- name: Create Unified Release Bundle - name: Create Unified Release Bundle
env: env:
BUNDLE_NAME: nomos-circuits-${{ env.OS }}-${{ env.ARCH }}-${{ env.VERSION }} BUNDLE_NAME: nomos-circuits-${{ env.VERSION }}-${{ env.OS }}-${{ env.ARCH }}
run: | run: |
# Create the bundle directory structure # Create the bundle directory structure
mkdir -p "${BUNDLE_NAME}"/{pol,poq,zksign,poc} mkdir -p "${BUNDLE_NAME}"/{pol,poq,zksign,poc}
@ -775,8 +775,8 @@ jobs:
- name: Upload Unified Release Bundle - name: Upload Unified Release Bundle
uses: actions/upload-artifact@de65e23aa2b7e23d713bb51fbfcb6d502f8667d8 uses: actions/upload-artifact@de65e23aa2b7e23d713bb51fbfcb6d502f8667d8
with: with:
name: nomos-circuits-${{ env.OS }}-${{ env.ARCH }}-${{ env.VERSION }}.tar.gz name: nomos-circuits-${{ env.VERSION }}-${{ env.OS }}-${{ env.ARCH }}.tar.gz
path: nomos-circuits-${{ env.OS }}-${{ env.ARCH }}-${{ env.VERSION }}.tar.gz path: nomos-circuits-${{ env.VERSION }}-${{ env.OS }}-${{ env.ARCH }}.tar.gz
publish-release: publish-release:
name: Create Release name: Create Release
@ -839,7 +839,7 @@ jobs:
arch: x86_64 arch: x86_64
env: env:
UPLOAD_URL: ${{ needs.publish-release.outputs.upload_url }} UPLOAD_URL: ${{ needs.publish-release.outputs.upload_url }}
ARTIFACT_NAME: nomos-circuits-${{ matrix.platform.os }}-${{ matrix.platform.arch }}-${{ needs.setup.outputs.version }}.tar.gz ARTIFACT_NAME: nomos-circuits-${{ needs.setup.outputs.version }}-${{ matrix.platform.os }}-${{ matrix.platform.arch }}.tar.gz
steps: steps:
- name: Download Unified Bundle - name: Download Unified Bundle
uses: actions/download-artifact@448e3f862ab3ef47aa50ff917776823c9946035b uses: actions/download-artifact@448e3f862ab3ef47aa50ff917776823c9946035b

View File

@ -18,14 +18,14 @@ Each release includes a single unified bundle per platform:
For each supported platform (Linux x86_64, macOS aarch64, Windows x86_64): For each supported platform (Linux x86_64, macOS aarch64, Windows x86_64):
- **`nomos-circuits-{os}-{arch}-{version}.tar.gz`** - **`nomos-circuits-{version}-{os}-{arch}.tar.gz`**
A complete bundle containing all components needed to generate and verify proofs for all circuits. A complete bundle containing all components needed to generate and verify proofs for all circuits.
**Bundle Structure:** **Bundle Structure:**
``` ```
nomos-circuits-{os}-{arch}-{version}/ nomos-circuits-{version}-{os}-{arch}/
├── VERSION ├── VERSION
├── pol/ ├── pol/
│ ├── witness_generator[.exe] │ ├── witness_generator[.exe]