Skip to content

Commit

Permalink
bump version to 0.7.1 (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
chdsbd authored May 30, 2021
1 parent c3227e2 commit 151e770
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
with:
node-version: "12.x"
- name: Install dependencies
run: yarn --frozen-lockfile
run: ./s/ci-install
- name: Typescript
run: ./s/tsc

Expand All @@ -124,7 +124,7 @@ jobs:
with:
node-version: "12.x"
- name: Install dependencies
run: yarn --frozen-lockfile
run: ./s/ci-install
- name: Lint JS
run: ./s/eslint

Expand All @@ -137,6 +137,6 @@ jobs:
with:
node-version: "12.x"
- name: Install dependencies
run: yarn --frozen-lockfile
run: ./s/ci-install
- name: Check Formatting
run: ./s/prettier
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### v0.7.0 - 2021-05-19
## v0.7.1 - 2021-05-30

### Fixed

- incorrect internal schema for "create partition" statements. (#146)
- `upload-to-github` command not obeying top level `--exclude`s. (#142)

### Changed

- allowing adding not null column with default for `adding-not-null-field`. (#144)

## v0.7.0 - 2021-05-19

### Added

Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@ cargo run

1. update the CHANGELOG.md and bump version in all the dependency
`Cargo.toml` as well as the CLI `Cargo.toml` and commit the changes

```bash
# update version in Cargo.toml files and package.json to 4.5.3
s/update-version 4.5.3
```

2. create a new release on github - CI will attach the binaries automatically
3. bump version in `package.json` and follow the `npm` steps

Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "squawk"
version = "0.7.0"
version = "0.7.1"
authors = ["Steve Dignam <[email protected]>"]
edition = "2018"
license = "GPL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "squawk",
"version": "0.0.0",
"version": "0.7.1",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
Expand Down
2 changes: 1 addition & 1 deletion github/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "squawk-github"
version = "0.7.0"
version = "0.7.1"
authors = ["Steve Dignam <[email protected]>"]
edition = "2018"
license = "GPL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion linter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "squawk-linter"
version = "0.7.0"
version = "0.7.1"
authors = ["Steve Dignam <[email protected]>"]
edition = "2018"
license = "GPL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "squawk-cli",
"version": "0.7.0",
"version": "0.7.1",
"description": "linter for PostgreSQL, focused on migrations",
"repository": "[email protected]:sbdchd/squawk.git",
"author": "Steve Dignam <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "squawk-parser"
version = "0.7.0"
version = "0.7.1"
authors = ["Steve Dignam <[email protected]>"]
edition = "2018"
license = "GPL-3.0"
Expand Down
2 changes: 2 additions & 0 deletions s/ci-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
exec yarn --frozen-lockfile --ignore-scripts
16 changes: 16 additions & 0 deletions s/update-version
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
# This script requires fastmod to be installed
# fastmod: https://github.com/facebookincubator/fastmod


function main {
NEW_VERSION="$1"
echo "updating version to '$NEW_VERSION'..."
fastmod '^version = ".*"' 'version = "'$NEW_VERSION'"' -g 'Cargo.toml'
fastmod '"version": ".*"' '"version": "'$NEW_VERSION'"' -g 'package.json'
}


main $@


0 comments on commit 151e770

Please sign in to comment.