Skip to content

Commit

Permalink
chore(release): 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fathyb committed Feb 9, 2023
1 parent 7887952 commit 6694233
Show file tree
Hide file tree
Showing 9 changed files with 121 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ node_modules/
!/chromium/.gclient
!/chromium/depot_tools
!/chromium/patches
/packages/*/build
3 changes: 2 additions & 1 deletion .refloat/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const version = '0.0.1'
import { version } from '../package.json'

const sharedLib = {
macos: 'dylib',
linux: 'so'
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "carbonyl"
version = "0.0.1"
version = "0.0.2"
edition = "2021"

[dependencies]
Expand Down
49 changes: 49 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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 changes: 44 additions & 0 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "carbonyl",
"version": "0.0.1",
"version": "0.0.2",
"license": "BSD-3-Clause"
}
9 changes: 9 additions & 0 deletions scripts/changelog.sh
Original file line number Diff line number Diff line change
@@ -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 changes: 13 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 6694233

Please sign in to comment.