Skip to content

Commit

Permalink
Merge pull request #280 from KiraCore/release/v0.3.56
Browse files Browse the repository at this point in the history
release/v0.3.56 -> master
  • Loading branch information
MrLutik authored May 2, 2024
2 parents f6171cb + e16e9b7 commit fd9aae0
Show file tree
Hide file tree
Showing 14 changed files with 718 additions and 275 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
build-amd64:
name: AMD64 - Repo Test & Build
runs-on: [ self-hosted, github-actions-amd64-runner-2 ]
runs-on: [ self-hosted, X64 ]
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
path: ./tools-bin-amd64.tar.gz
build-arm64:
name: ARM64 - Repo Test & Build
runs-on: [ self-hosted, github-actions-arm64-runner-1 ]
runs-on: [ self-hosted, ARM64 ]
needs: [build-amd64]
permissions:
contents: read
Expand Down Expand Up @@ -227,9 +227,9 @@ jobs:
id-token: write
pull-requests: write
steps:
# ref.: https://github.com/sigstore/cosign-installer, v3.0.1
# ref.: https://github.com/sigstore/cosign-installer, v3.2.0
- name: Install cosign
uses: sigstore/cosign-installer@c3667d99424e7e6047999fb6246c0da843953c65
uses: sigstore/cosign-installer@1fc5bd396d372bee37d608f955b336615edf79c8
with:
cosign-release: 'v2.0.0'
- name: Download AMD64 artifacts
Expand Down Expand Up @@ -419,4 +419,4 @@ jobs:
env:
MERGE_LABELS: "automerge"
GITHUB_TOKEN: "${{ secrets.REPO_ACCESS }}"
LOG: "TRACE"
LOG: "TRACE"
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Cosign requires simple initial setup of the signer keys described more precisely

```bash
# install cosign
COSIGN_VERSION="v2.0.0" && \
COSIGN_VERSION="v2.2.3" && \
if [[ "$(uname -m)" == *"ar"* ]] ; then ARCH="arm64"; else ARCH="amd64" ; fi && echo $ARCH && \
PLATFORM=$(uname) && FILE=$(echo "cosign-${PLATFORM}-${ARCH}" | tr '[:upper:]' '[:lower:]') && \
wget https://github.com/sigstore/cosign/releases/download/${COSIGN_VERSION}/$FILE && chmod +x -v ./$FILE && \
Expand Down Expand Up @@ -37,7 +37,7 @@ KIRA bash-utils (BU) is a general purpose tool for simplifying scripts & command

```bash
# one line install
TOOLS_VERSION="v0.3.40" && cd /tmp && FILE_NAME="bash-utils.sh" && \
TOOLS_VERSION="v0.3.54" && cd /tmp && FILE_NAME="bash-utils.sh" && \
wget "https://github.com/KiraCore/tools/releases/download/$TOOLS_VERSION/${FILE_NAME}" -O ./$FILE_NAME && \
wget "https://github.com/KiraCore/tools/releases/download/$TOOLS_VERSION/${FILE_NAME}.sig" -O ./${FILE_NAME}.sig && \
cosign verify-blob --key="$KIRA_COSIGN_PUB" --signature=./${FILE_NAME}.sig ./$FILE_NAME --insecure-ignore-tlog && \
Expand All @@ -52,12 +52,12 @@ A simple and secure bip39 words generator that is able to mix computer and human
```bash
# once BU is installed, you can easily and securely install all tools for a relevant architecture and platform
# one line install with verification of IPFS CID referencing a public key used to sign the release
TOOLS_VERSION="v0.3.40" && TOOL_NAME="bip39gen" && cd /tmp && \
TOOLS_VERSION="v0.3.54" && TOOL_NAME="bip39gen" && cd /tmp && \
bu safeWget ./${TOOL_NAME}.deb "https://github.com/KiraCore/tools/releases/download/$TOOLS_VERSION/${TOOL_NAME}-$(getPlatform)-$(getArch).deb" \
"QmeqFDLGfwoWgCy2ZEFXerVC5XW8c5xgRyhK5bLArBr2ue" && rm -rfv ./$TOOL_NAME&& dpkg-deb -x ./${TOOL_NAME}.deb ./$TOOL_NAME && \
cp -fv ./$TOOL_NAME/bin/$TOOL_NAME /usr/local/bin/$TOOL_NAME && chmod +x "/usr/local/bin/$TOOL_NAME" && \
rm -rfv ./$TOOL_NAME ./${TOOL_NAME}.deb

# Check bip39gen version
bip39gen version
```
```
6 changes: 5 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
Features:
* bu: add curl check
* Refactor: validator-key-gen refactored for package usage
* Add: new mnemonic to set - PrivKeyMnemonic
* Fix: toml parser in bu
* Cidi: change label for self-hosted runners

16 changes: 6 additions & 10 deletions bash-utils/bash-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ function bashUtilsVersion() {
# this is default installation script for utils
# ./bash-utils.sh bashUtilsSetup "/var/kiraglob"
function bashUtilsSetup() {
local BASH_UTILS_VERSION="v0.3.46"


local BASH_UTILS_VERSION="v0.3.56"

local COSIGN_VERSION="v2.0.0"
if [ "$1" == "version" ] ; then
echo "$BASH_UTILS_VERSION"
Expand Down Expand Up @@ -1929,7 +1932,8 @@ function getTomlVarNames() {
elif [ -z "$line" ] || [[ $line = \#* ]] ; then
continue
elif [[ $line = *=* ]] ; then
name=$(echo "$line" | cut -d= -f1 | xargs)
local name=$(echo "$line" | cut -d= -f1 | xargs)
name=$(echo "$name" | tr '.' '_') # Fix: replace dots with undescore
[ ! -z "$name" ] && echo "$tag $name"
fi
done
Expand Down Expand Up @@ -2314,11 +2318,3 @@ if declare -f "$1" > /dev/null ; then
fi










4 changes: 3 additions & 1 deletion bip39gen/cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import (
"github.com/spf13/cobra"
)

const Bip39GenVersion = "v0.3.46"

const Bip39GenVersion = "v0.3.56"


func cmdVersion(cmd *cobra.Command, args []string) error {
fmt.Println(Bip39GenVersion)
Expand Down
3 changes: 2 additions & 1 deletion build-tools/update_version.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import re
import sys

version = "v0.3.46"

version = "v0.3.56"

if len(sys.argv) != 2:
print("Usage: python3 update_version.py <new_release>")
Expand Down
3 changes: 2 additions & 1 deletion ipfs-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ A command-line interface (CLI) for interacting with the IPFS API, providing func
To install the CLI, clone the repository and build the project using Go.= or dowload from existing release

```
TOOLS_VERSION="v0.3.46" && rm -rfv /tmp/ipfs-api && \
TOOLS_VERSION="v0.3.56" && rm -rfv /tmp/ipfs-api && \
safeWget /tmp/ipfs-api.deb "https://github.com/KiraCore/tools/releases/download/$TOOLS_VERSION/ipfs-api-$(getPlatform)-$(getArch).deb" "QmeqFDLGfwoWgCy2ZEFXerVC5XW8c5xgRyhK5bLArBr2ue" && \
dpkg-deb -x /tmp/ipfs-api.deb /tmp/ipfs-api && cp -fv "/tmp/ipfs-api/bin/ipfs-api" /usr/local/bin/ipfs-api && chmod -v 755 /usr/local/bin/ipfs-api && \
ipfs-api version
Expand Down
5 changes: 4 additions & 1 deletion ipfs-api/types/constants.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
package types

const (
IpfsApiVersion = "v0.3.46"

IpfsApiVersion = "v0.3.56"



// Pinata v1 constants
BASE_URL = "https://api.pinata.cloud"
Expand Down
4 changes: 3 additions & 1 deletion scripts/version.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

echo "v0.3.46"

echo "v0.3.56"

Loading

0 comments on commit fd9aae0

Please sign in to comment.