Skip to content

Commit

Permalink
Merge pull request #39 from dojoengine/dojo-upgrade
Browse files Browse the repository at this point in the history
actions and deps
  • Loading branch information
ponderingdemocritus authored Feb 7, 2024
2 parents daa1646 + 398209d commit 118d20d
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 7 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release

on:
push:
tags:
- "v*"

jobs:
create-release:
runs-on: ubuntu-latest

steps:
- name: Extract version from tag
id: tag-version
run: |
echo "::set-output name=version::${GITHUB_REF#refs/tags/v}"
- name: Create GitHub Release
run: |
curl -s \
-X POST \
-H "Authorization: token $GIT_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/releases \
-d '{
"tag_name": "v${{ steps.tag-version.outputs.version }}",
"name": "Release v${{ steps.tag-version.outputs.version }}",
"body": "Release of version ${{ steps.tag-version.outputs.version }}",
"draft": false,
"prerelease": false
}'
env:
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
8 changes: 4 additions & 4 deletions Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ dependencies = [
[[package]]
name = "cubit"
version = "1.3.0"
source = "git+https://github.com/akhercha/cubit.git?rev=d3869a3#d3869a3f0c47e5ed229bbbfe2fce3fc0510cbc8a"
source = "git+https://github.com/influenceth/cubit.git#62756082bf2555d7ab25c69d9c7bc30574ff1ce8"

[[package]]
name = "dojo"
version = "0.5.0"
source = "git+https://github.com/dojoengine/dojo?tag=v0.5.0#41a48b8082456e29d35913c0b81d71382c020b35"
version = "0.5.1"
source = "git+https://github.com/dojoengine/dojo?tag=v0.5.1#4a6cad5f21d8da71714ae6ff48c9cc6ecaae642a"
dependencies = [
"dojo_plugin",
]
Expand Down Expand Up @@ -45,7 +45,7 @@ dependencies = [

[[package]]
name = "origami"
version = "0.5.0"
version = "0.5.1"
dependencies = [
"cubit",
"dojo",
Expand Down
6 changes: 3 additions & 3 deletions Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
members = ["crates", "examples/*", "token"]

[workspace.package]
version = "0.5.0"
version = "0.5.1"
description = "Community-maintained libraries for Cairo"
homepage = "https://github.com/dojoengine/origami"
authors = ["bal7hazar@proton.me"]

[workspace.dependencies]
cubit = { git = "https://github.com/akhercha/cubit.git", rev = "d3869a3" }
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v0.5.0" }
cubit = { git = "https://github.com/influenceth/cubit.git" }
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v0.5.1" }
origami = { path = "crates" }
token = { path = "token" }

0 comments on commit 118d20d

Please sign in to comment.