Skip to content

Commit

Permalink
chore: version v0.25.0 (#396)
Browse files Browse the repository at this point in the history
Co-authored-by: Github Automation <github@3box.io>
  • Loading branch information
smrz2001 and Github Automation committed Jul 1, 2024
1 parent 8333cc9 commit b31e795
Show file tree
Hide file tree
Showing 16 changed files with 98 additions and 69 deletions.
67 changes: 34 additions & 33 deletions .github/workflows/publish-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ permissions:

on:
push:
branches: [ "main" ]
paths:
- 'Cargo.toml'
branches: [ "test/release" ]
# paths:
# - 'Cargo.toml'
workflow_dispatch:

jobs:
# Build and package all the things
Expand All @@ -27,13 +28,13 @@ jobs:
- target: x86_64-apple-darwin
os: macos-latest
arch: x86_64
ext: pkg
ext: bin
protoc-arch: osx-x86_64
- target: aarch64-apple-darwin
os: macos-latest
config-file: fpm/osx.fpm
arch: aarch64
ext: pkg
ext: bin
protoc-arch: osx-aarch_64
#- target: x86_64-pc-windows-msvc
# os: windows-latest
Expand Down Expand Up @@ -77,31 +78,31 @@ jobs:
path: |
ceramic-one_${{ matrix.target }}.tar.gz
release:
needs: [build-binaries]
runs-on: ubuntu-latest
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN_PAT }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_PAT }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/download-artifact@v3
with:
path: artifacts
- name: check artifacts
run: |
ls artifacts/**/*
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- id: release
run: |
export TAG=$(cargo metadata --format-version=1 --no-deps | jq '.packages[0].version' | tr -d '"')
echo "Releasing "$TAG
# Generate a GitHub pre-release. This will trigger the "published" event that will deploy to Clay. When the
# pre-release is promoted to a release from the GitHub console, the "released" event will trigger and deploy
# to Prod.
current_branch=$(git rev-parse --abbrev-ref HEAD)
gh release create "v${TAG}" -t "v${TAG}" --target "$current_branch" --generate-notes --prerelease artifacts/**/*.tar.gz
# release:
# needs: [build-binaries]
# runs-on: ubuntu-latest
# env:
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}
# GH_TOKEN: ${{ secrets.GH_TOKEN_PAT }}
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN_PAT }}
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - uses: actions/download-artifact@v3
# with:
# path: artifacts
# - name: check artifacts
# run: |
# ls artifacts/**/*
# - name: Install Rust toolchain
# uses: dtolnay/rust-toolchain@stable
# - id: release
# run: |
# export TAG=$(cargo metadata --format-version=1 --no-deps | jq '.packages[0].version' | tr -d '"')
# echo "Releasing "$TAG
# # Generate a GitHub pre-release. This will trigger the "published" event that will deploy to Clay. When the
# # pre-release is promoted to a release from the GitHub console, the "released" event will trigger and deploy
# # to Prod.
# current_branch=$(git rev-parse --abbrev-ref HEAD)
# gh release create "v${TAG}" -t "v${TAG}" --target "$current_branch" --generate-notes --prerelease artifacts/**/*.tar.gz
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,36 @@

All notable changes to this project will be documented in this file.

## [0.25.0] - 2024-06-24

### 🚀 Features

- Adds migration logic from IPFS (#326)

### 🐛 Bug Fixes

- Adjust API insert contract and avoid failing entire batch if any one is invalid (#388)

### 🚜 Refactor

- Modify store API and rename some things (#390)

### ⚙️ Miscellaneous Tasks

- Replace tracing_test with test-log and don't init tracing manually (#391)
- Rename prometheus registry and metrics for better consistency (#373)

## [0.24.0] - 2024-06-18

### 🐛 Bug Fixes

- Remove redundant db url cli arg (#384)
- TimeEvents from single-write anchor batches don't have a separate root block (#386)

### ⚙️ Miscellaneous Tasks

- Version v0.24.0 (#389)

## [0.23.0] - 2024-06-17

### 🚀 Features
Expand Down
36 changes: 18 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ zeroize = "1.4"


[workspace.package]
version = "0.24.0"
version = "0.25.0"
edition = "2021"
authors = [
"Danny Browning <dbrowning@3box.io>",
Expand Down
2 changes: 1 addition & 1 deletion api-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ceramic-api-server"
version = "0.24.0"
version = "0.25.0"
authors = ["OpenAPI Generator team and contributors"]
description = "This is the Ceramic API for working with streams and events "
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions api-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ To see how to make this your own, look here:

[README]((https://openapi-generator.tech))

- API version: 0.24.0
- Build date: 2024-06-18T16:13:40.568723758Z[Etc/UTC]
- API version: 0.25.0
- Build date: 2024-06-24T14:29:49.667963416Z[Etc/UTC]



Expand Down
2 changes: 1 addition & 1 deletion api-server/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ info:
name: MIT
url: https://mit-license.org/
title: Ceramic API
version: 0.24.0
version: 0.25.0
servers:
- url: /ceramic
paths:
Expand Down
2 changes: 1 addition & 1 deletion api-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use swagger::{ApiError, ContextWrapper};
type ServiceError = Box<dyn Error + Send + Sync + 'static>;

pub const BASE_PATH: &str = "/ceramic";
pub const API_VERSION: &str = "0.24.0";
pub const API_VERSION: &str = "0.25.0";

#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
Expand Down
2 changes: 1 addition & 1 deletion api/ceramic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.0
info:
description: >
This is the Ceramic API for working with streams and events
version: 0.24.0
version: 0.25.0
title: Ceramic API
#license:
# name: Apache 2.0
Expand Down
13 changes: 9 additions & 4 deletions ci-scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,13 @@ echo "Building artifacts for "$TARGET

cargo build --release --locked --target $TARGET

echo "Building package for "$TARGET
fpm --fpm-options-file $CONFIG_FILE -C $BIN_DIR -v $PKG_VERSION -p $OUT_PATH ceramic-one=$INSTALL_DIR/ceramic-one
if [ "$EXT" = "bin" ]; then
echo "Compressing package for $TARGET"
tar -cvzf ceramic-one_$TARGET.tar.gz -C $ARTIFACTS_DIR ceramic-one
else
echo "Building package for $TARGET"
fpm --fpm-options-file $CONFIG_FILE -C $BIN_DIR -v $PKG_VERSION -p $OUT_PATH ceramic-one=$INSTALL_DIR/ceramic-one

echo "Compressing package for "$TARGET
tar -cvzf ceramic-one_$TARGET.tar.gz -C $ARTIFACTS_DIR $OUT_FILE
echo "Compressing package for $TARGET"
tar -cvzf ceramic-one_$TARGET.tar.gz -C $ARTIFACTS_DIR $OUT_FILE
fi
2 changes: 1 addition & 1 deletion kubo-rpc-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ceramic-kubo-rpc-server"
version = "0.24.0"
version = "0.25.0"
authors = ["OpenAPI Generator team and contributors"]
description = "This is the Kubo RPC API for working with IPLD data on IPFS This API only defines a small subset of the official API. "
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions kubo-rpc-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ To see how to make this your own, look here:

[README]((https://openapi-generator.tech))

- API version: 0.24.0
- Build date: 2024-06-18T16:13:42.656962076Z[Etc/UTC]
- API version: 0.25.0
- Build date: 2024-06-24T14:29:51.796659348Z[Etc/UTC]



Expand Down
2 changes: 1 addition & 1 deletion kubo-rpc-server/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ info:
name: MIT
url: https://mit-license.org/
title: Kubo RPC API
version: 0.24.0
version: 0.25.0
servers:
- url: /api/v0
paths:
Expand Down
2 changes: 1 addition & 1 deletion kubo-rpc-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use swagger::{ApiError, ContextWrapper};
type ServiceError = Box<dyn Error + Send + Sync + 'static>;

pub const BASE_PATH: &str = "/api/v0";
pub const API_VERSION: &str = "0.24.0";
pub const API_VERSION: &str = "0.25.0";

#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
Expand Down
Loading

0 comments on commit b31e795

Please sign in to comment.