Skip to content

Commit

Permalink
chore: add pub
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed Oct 19, 2021
1 parent 84247b3 commit cc0daaf
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@

# Changelog

## v2.0.2

`2021.10.19`

- ⚡️ chore: add pub.

## v2.0.1

`2021.10.19`
Expand Down
17 changes: 17 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Contributing

## Development

## Publish

- Add new release changelog
- Commit to main
- run below

```sh
npm run pub
# Waiting ...
# - When open a new url
# - Check tag and changelog content
# - Click Publish
```
4 changes: 4 additions & 0 deletions scripts/tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ async function run() {
execSync(`git push origin ${tagChangelog}:${tagChangelog}`);
execSync(`git pull`);
tag = tagChangelog;
} else {
console.log(chalk.yellow('🙄 Please add new release changelog first.'));
console.log('');
process.exit(1);
}

const tagSimple = tag.startsWith('v') ? tag.substring(0, 2) : tag.substring(0, 1);
Expand Down

0 comments on commit cc0daaf

Please sign in to comment.