From 784f53fd7e73db1116348352e907b77365781781 Mon Sep 17 00:00:00 2001 From: ArthurSonzogni Date: Thu, 1 May 2025 11:30:12 +0200 Subject: [PATCH] Remove attestion for Bazel --- .github/workflows/publish.yaml | 17 ++--------------- .github/workflows/release.yaml | 16 ---------------- CHANGELOG.md | 4 ++-- CMakeLists.txt | 2 +- MODULE.bazel | 2 +- README.md | 2 +- 6 files changed, 7 insertions(+), 36 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 08ad3a91..004c5939 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -9,29 +9,16 @@ on: required: true type: string - # Fire as soon as the Release workflow completes - workflow_run: - workflows: - - Release - types: - - completed - permissions: - - attestations: write contents: write - id-token: write jobs: publish: uses: bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@v0.0.4 - # Only run on manual dispatch, or when Release finishes successfully - if: | - github.event_name == 'workflow_dispatch' || - (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') with: - tag_name: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name || github.event.workflow_run.head_branch }} + tag_name: ${{ github.event.inputs.tag_name }} registry_fork: ArthurSonzogni/bazel-central-registry + attest: false secrets: publish_token: ${{ secrets.PUBLISH_TOKEN }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5f2ab453..cde39cec 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -98,19 +98,3 @@ jobs: upload_url: ${{ needs.release.outputs.upload_url }} asset_path: source.tar.gz overwrite: true - - - name: Generate source attestation - id: attest_source - uses: actions/attest-build-provenance@v2 - with: - subject-path: source.tar.gz - - - name: Rename source attestation - run: mv ${{ steps.attest_source.outputs.bundle-path }} source.tar.gz.intoto.jsonl - - - name: "Upload source attestation" - uses: shogo82148/actions-upload-release-asset@v1 - with: - upload_url: ${{ needs.release.outputs.upload_url }} - asset_path: source.tar.gz.intoto.jsonl - overwrite: true diff --git a/CHANGELOG.md b/CHANGELOG.md index e40c5eac..9ee985a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ Changelog Future release ------------ -6.1.7 (2025-05-01) +6.1.8 (2025-05-01) ------------------ ### Build @@ -15,7 +15,7 @@ Future release **MODULE.bazel** ```bazel - bazel_dep(name = "ftxui", version = "6.1.7") + bazel_dep(name = "ftxui", version = "6.1.8") ``` **BUILD.bazel** diff --git a/CMakeLists.txt b/CMakeLists.txt index d1631cdf..907d99b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.12) project(ftxui LANGUAGES CXX - VERSION 6.1.7 + VERSION 6.1.8 DESCRIPTION "C++ Functional Terminal User Interface." ) diff --git a/MODULE.bazel b/MODULE.bazel index d2e367eb..4957fbd2 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -3,7 +3,7 @@ # the LICENSE file. # FTXUI Module. -module(name = "ftxui", version = "6.1.7") +module(name = "ftxui", version = "6.1.8") # Build deps. bazel_dep(name = "rules_cc", version = "0.1.1") diff --git a/README.md b/README.md index 05ca9e3b..3918c09d 100644 --- a/README.md +++ b/README.md @@ -372,7 +372,7 @@ include(FetchContent) FetchContent_Declare(ftxui GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui - GIT_TAG v6.1.7 + GIT_TAG v6.1.8 ) FetchContent_GetProperties(ftxui)