Skip to content

Commit 74d392a

Browse files
author
Kasper Juul Hermansen
authored
chore(release): Without semantic release" (#7)
* remove semantic-release * release
1 parent d0fc326 commit 74d392a

File tree

3 files changed

+43
-42
lines changed

3 files changed

+43
-42
lines changed

.github/workflows/release.yml

Lines changed: 41 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -45,47 +45,48 @@ jobs:
4545
- name: Checkout repository
4646
uses: actions/checkout@v3
4747
with:
48-
fetch-depth: 0
48+
fetch-depth:
49+
0
4950

50-
- name: Semantic Release
51-
id: semantic
52-
uses: cycjimmy/semantic-release-action@v3
53-
with:
54-
semantic_version: 16
55-
# you can set branches for semantic-release above v16.
56-
branches: |
57-
[
58-
'+([0-9])?(.{+([0-9]),x}).x',
59-
'main',
60-
'next',
61-
'next-major',
62-
{
63-
name: 'beta',
64-
prerelease: true
65-
},
66-
{
67-
name: 'alpha',
68-
prerelease: true
69-
}
70-
]
71-
env:
72-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
73-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
74-
75-
- name: Releasing
76-
if: steps.semantic.outputs.new_release_published == 'true'
77-
run: |
78-
echo ${{ steps.semantic.outputs.new_release_version }}
79-
80-
- name: Install semantic-release-cargo
81-
if: steps.semantic.outputs.new-release-published == 'true'
82-
uses: taiki-e/install-action@v1
83-
with:
84-
tool: semantic-release-cargo@2
85-
86-
- name: Prepare semantic-release for Rust
87-
if: steps.semantic.outputs.new-release-published == 'true'
88-
run: semantic-release-cargo prepare ${{ steps.semantic.outputs.new-release-version }}
51+
# - name: Semantic Release
52+
# id: semantic
53+
# uses: cycjimmy/semantic-release-action@v3
54+
# with:
55+
# semantic_version: 16
56+
# # you can set branches for semantic-release above v16.
57+
# branches: |
58+
# [
59+
# '+([0-9])?(.{+([0-9]),x}).x',
60+
# 'main',
61+
# 'next',
62+
# 'next-major',
63+
# {
64+
# name: 'beta',
65+
# prerelease: true
66+
# },
67+
# {
68+
# name: 'alpha',
69+
# prerelease: true
70+
# }
71+
# ]
72+
# env:
73+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
74+
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
75+
#
76+
# - name: Releasing
77+
# if: steps.semantic.outputs.new_release_published == 'true'
78+
# run: |
79+
# echo ${{ steps.semantic.outputs.new_release_version }}
80+
#
81+
# - name: Install semantic-release-cargo
82+
# if: steps.semantic.outputs.new-release-published == 'true'
83+
# uses: taiki-e/install-action@v1
84+
# with:
85+
# tool: semantic-release-cargo@2
86+
#
87+
# - name: Prepare semantic-release for Rust
88+
# if: steps.semantic.outputs.new-release-published == 'true'
89+
# run: semantic-release-cargo prepare ${{ steps.semantic.outputs.new-release-version }}
8990

9091
- name: Get version
9192
id: get_version

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "toolkit"
33
description = "Toolkit is an opinionated toolkit complementing a personal development workflow. Many of the commands are quite verbose, and well suited for adding to your shell toolbelt"
4-
version = "0.1.15"
4+
version = "0.1.16"
55
edition = "2021"
66
license-file = "LICENSE"
77
authors = ["Kasper J. Hermansen contact@kjuulh.io"]

0 commit comments

Comments
 (0)