Skip to content

Commit

Permalink
Merge pull request #64 from refcell/refcell/fix-tags
Browse files Browse the repository at this point in the history
fix(ci): Remove Tagging Workflow
  • Loading branch information
refcell authored Oct 27, 2023
2 parents 897632a + 79cff4f commit 1f08cc4
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 28 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: Tag

on:
workflow_run:
workflows: ["CI"]
branches: [main]
types:
- completed

jobs:
tag:
runs-on: ubuntu-latest
permissions:
contents: write
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Bump version and push tag
uses: anothrNick/github-tag-action@master
env:
DEFAULT_BUMP: patch
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO_OWNER: refcell
WITH_V: true
# name: Tag
#
# on:
# workflow_run:
# workflows: ["CI"]
# branches: [main]
# types:
# - completed
#
# jobs:
# tag:
# runs-on: ubuntu-latest
# permissions:
# contents: write
# timeout-minutes: 20
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: '0'
# - name: Bump version and push tag
# uses: anothrNick/github-tag-action@master
# env:
# DEFAULT_BUMP: patch
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# REPO_OWNER: refcell
# WITH_V: true
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ resolver = "2"

[workspace.package]
description = "First class, scalable rust project generator with batteries included."
version = "0.1.40"
version = "0.1.41"
edition = "2021"
license = "MIT"
authors = ["refcell"]
Expand Down
7 changes: 6 additions & 1 deletion crates/preamble/etc/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
toolchain: stable
override: true

- run: cargo publish --token ${CRATES_TOKEN}
- name: Install cargo-workspaces from crates.io
uses: baptiste0928/cargo-install@v2
with:
crate: cargo-workspaces

- run: cargo ws publish --token ${CRATES_TOKEN} --yes
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}

0 comments on commit 1f08cc4

Please sign in to comment.