chore(release): 0.0.2

This commit is contained in:
Fathy Boundjadj 2023-02-09 11:45:16 +01:00
parent 7887952e19
commit 669423312a
9 changed files with 121 additions and 4 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@ node_modules/
!/chromium/.gclient
!/chromium/depot_tools
!/chromium/patches
/packages/*/build

View File

@ -1,4 +1,5 @@
const version = '0.0.1'
import { version } from '../package.json'
const sharedLib = {
macos: 'dylib',
linux: 'so'

2
Cargo.lock generated
View File

@ -25,7 +25,7 @@ checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535"
[[package]]
name = "carbonyl"
version = "0.0.1"
version = "0.0.2"
dependencies = [
"chrono",
"libc",

View File

@ -1,6 +1,6 @@
[package]
name = "carbonyl"
version = "0.0.1"
version = "0.0.2"
edition = "2021"
[dependencies]

49
changelog.md Normal file
View File

@ -0,0 +1,49 @@
# Changelog
All notable changes to this project will be documented in this file.
## [0.0.2] - 2023-02-09
### 🚀 Features
- Better true color detection
- Linux support
- Xterm title
- Hide stderr unless crash
- Add `--debug` to print stderr on exit ([#23](https://github.com/orhun/git-cliff/issues/23))
- Add navigation UI ([#86](https://github.com/orhun/git-cliff/issues/86))
- Handle terminal resize ([#87](https://github.com/orhun/git-cliff/issues/87))
### 🐛 Bug Fixes
- Parser fixes
- Properly enter tab and return keys
- Fix some special characters ([#35](https://github.com/orhun/git-cliff/issues/35))
- Improve terminal size detection ([#36](https://github.com/orhun/git-cliff/issues/36))
- Allow working directories that contain spaces ([#63](https://github.com/orhun/git-cliff/issues/63))
- Do not use tags for checkout ([#64](https://github.com/orhun/git-cliff/issues/64))
- Do not checkout nacl ([#79](https://github.com/orhun/git-cliff/issues/79))
- Wrap zip files in carbonyl folder ([#88](https://github.com/orhun/git-cliff/issues/88))
- Fix WebGL support on Linux ([#90](https://github.com/orhun/git-cliff/issues/90))
- Fix initial freeze on Docker ([#91](https://github.com/orhun/git-cliff/issues/91))
### 📖 Documentation
- Upload demo videos
- Fix video layout
- Fix a typo ([#1](https://github.com/orhun/git-cliff/issues/1))
- Fix a typo `ie.` -> `i.e.` ([#9](https://github.com/orhun/git-cliff/issues/9))
- Fix build instructions ([#15](https://github.com/orhun/git-cliff/issues/15))
- Add ascii logo
- Add comparisons ([#34](https://github.com/orhun/git-cliff/issues/34))
- Add OS support ([#50](https://github.com/orhun/git-cliff/issues/50))
- Add download link
- Fix linux download links
- Document shared library
- Fix a typo (`know` -> `known`) ([#71](https://github.com/orhun/git-cliff/issues/71))
- Add license
### Build
- Various build system fixes ([#20](https://github.com/orhun/git-cliff/issues/20))

44
cliff.toml Normal file
View File

@ -0,0 +1,44 @@
[changelog]
header = """
# Changelog\n
All notable changes to this project will be documented in this file.\n
"""
body = """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim | upper_first }}
{% for commit in commits %}
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}\
{%- if commit.links %} ({% for link in commit.links %}[{{link.text}}]({{link.href}}){% endfor -%}){% endif %}\
{% endfor %}
{% endfor %}\n
"""
trim = true
footer = ""
[git]
conventional_commits = true
filter_unconventional = true
split_commits = false
commit_preprocessors = [
{ pattern = "#([0-9]+)", replace = "[#${1}](https://github.com/orhun/git-cliff/issues/${1})" }
]
commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->🚀 Features" },
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
{ message = "^doc", group = "<!-- 2 -->📖 Documentation" },
{ message = "^perf", group = "<!-- 3 -->⚡ Performance"},
{ message = "^chore", skip = true },
{ body = ".*security", group = "<!-- 8 -->🔐 Security"},
]
protect_breaking_commits = false
filter_commits = false
tag_pattern = "v[0-9]*"
skip_tags = ""
ignore_tags = ""
topo_order = true
sort_commits = "oldest"

View File

@ -1,5 +1,5 @@
{
"name": "carbonyl",
"version": "0.0.1",
"version": "0.0.2",
"license": "BSD-3-Clause"
}

9
scripts/changelog.sh Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
export CARBONYL_ROOT=$(cd $(dirname -- "$0") && dirname -- $(pwd))
export SKIP_DEPOT_TOOLS="true"
cd "$CARBONYL_ROOT"
source "scripts/env.sh"
git cliff a69e8b609625b67a3e52e18f73ba5d0f49ceb7c3..HEAD "$@" > changelog.md

13
scripts/release.sh Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
export CARBONYL_ROOT=$(cd $(dirname -- "$0") && dirname -- $(pwd))
export SKIP_DEPOT_TOOLS="true"
cd "$CARBONYL_ROOT"
source "scripts/env.sh"
npm version "$1" --no-git-tag-version
"$CARBONYL_ROOT/scripts/changelog.sh" --tag "$1"
git add -A .
git commit -m "chore(release): $1"
git tag -a "v$1" -m "chore(release): $1"