From 1dc3ccffdfd25ec8965d79c24004544757e986af Mon Sep 17 00:00:00 2001 From: Adoo Date: Mon, 26 Jun 2023 12:55:47 +0800 Subject: [PATCH] =?UTF-8?q?build(ribir):=20=F0=9F=8E=A1=20create=20only=20?= =?UTF-8?q?one=20tag=20per=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/alpha-release.yml | 2 ++ Cargo.toml | 4 ++++ ribir/Cargo.toml | 13 ++++++++----- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/alpha-release.yml b/.github/workflows/alpha-release.yml index b6c6b9f96..fb4e18da2 100644 --- a/.github/workflows/alpha-release.yml +++ b/.github/workflows/alpha-release.yml @@ -2,6 +2,8 @@ on: workflow_dispatch: # allows manual triggering schedule: - cron: "0 2 * * 2" # runs every tuesday at 00:00 +permissions: + contents: write name: "release weekly alpha version" jobs: release: diff --git a/Cargo.toml b/Cargo.toml index 517c23a20..f4fc97336 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -87,3 +87,7 @@ webbrowser = "0.8.8" wgpu = {version = "0.16.0"} winit = {version = "0.28.5", default-features = false, features = ["x11", "wayland", "wayland-dlopen"]} zerocopy = "0.7.0-alpha.3" + +[workspace.metadata.release] +shared-version = true +tag = false diff --git a/ribir/Cargo.toml b/ribir/Cargo.toml index 5702426ad..24b638466 100644 --- a/ribir/Cargo.toml +++ b/ribir/Cargo.toml @@ -13,22 +13,22 @@ repository = "https://github.com/RibirX/Ribir/ribir" version.workspace = true [dependencies] +arboard = "3.2.0" once_cell.workspace = true -ribir_core = {path = "../core", version = "0.0.1-alpha.2" } -ribir_gpu = {path = "../gpu", version = "0.0.1-alpha.2" } +ribir_core = {path = "../core", version = "0.0.1-alpha.2"} +ribir_gpu = {path = "../gpu", version = "0.0.1-alpha.2"} ribir_material = {path = "../themes/material", version = "0.0.1-alpha.2", optional = true} ribir_widgets = {path = "../widgets", version = "0.0.1-alpha.2", optional = true} rxrust.workspace = true wgpu = {workspace = true, optional = true} winit.workspace = true -arboard = "3.2.0" [dev-dependencies] colored.workspace = true env_logger.workspace = true futures.workspace = true -ribir_dev_helper = {path = "../dev-helper", version = "0.0.1-alpha.2" } -ribir_material = {path = "../themes/material", version = "0.0.1-alpha.2" } +ribir_dev_helper = {path = "../dev-helper"} +ribir_material = {path = "../themes/material"} [features] default = ["wgpu", "widgets", "material"] @@ -44,3 +44,6 @@ path = "tests/timer_test.rs" [target.'cfg(windows)'.dependencies] winapi = "0.3.9" + +[package.metadata.release] +tag = true