Skip to content

Commit

Permalink
Merge pull request #53 from stepchowfun/v1.2.0
Browse files Browse the repository at this point in the history
Release 1.2.0 and switch from Bake to Toast
  • Loading branch information
stepchowfun authored May 22, 2019
2 parents 86d0cc7 + ebe333f commit 59ab700
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ install:
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
echo "$DOCKER_HUB_PASSWORD" | docker login --username stephanmisc --password-stdin
fi
- curl https://raw.githubusercontent.com/stepchowfun/bake/master/install.sh -LSfs | VERSION=0.11.0 sh
- curl https://raw.githubusercontent.com/stepchowfun/toast/master/install.sh -LSfs | VERSION=0.17.0 sh
script:
- |
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
WRITE_REMOTE_CACHE=true
else
WRITE_REMOTE_CACHE=false
fi
bake \
--repo stephanmisc/bake \
toast \
--repo stephanmisc/toast \
--read-remote-cache true \
--write-remote-cache "$WRITE_REMOTE_CACHE"
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.2.0] - 2019-05-22

### Added
- Every release from this point forward will include checksums of the precompiled binaries.

## [1.1.0] - 2019-05-06

### Added
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 = "tagref"
version = "1.1.0"
version = "1.2.0"
authors = ["Stephan Boyer <stephan@stephanboyer.com>"]
description = "Tagref helps you refer to other locations in your codebase."
license = "MIT"
Expand Down
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
fi

# Install it at the requested destination.
# shellcheck disable=SC2024
mv "$TEMPFILE" "$DESTINATION" 2> /dev/null || sudo mv "$TEMPFILE" "$DESTINATION" < /dev/tty

# Let the user know it worked.
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use std::{
extern crate lazy_static;

// The program version
const VERSION: &str = "1.1.0";
const VERSION: &str = env!("CARGO_PKG_VERSION");

// Command-line option and subcommand names
const CHECK_COMMAND: &str = "check";
Expand Down
7 changes: 5 additions & 2 deletions bake.yml → toast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tasks:
command: |
set -euo pipefail
apt-get update
apt-get install --yes build-essential curl
apt-get install --yes build-essential curl shellcheck
install_tagref:
dependencies:
Expand Down Expand Up @@ -84,14 +84,16 @@ tasks:
- build
input_paths:
- .ignore # Used by `tagref`
- install.sh # Linted by ShellCheck
- rustfmt.toml # Used by `cargo fmt`
user: user
command: |
set -euo pipefail
. $HOME/.cargo/env
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- --deny warnings --deny clippy::all --deny clippy::pedantic
cargo fmt --all -- --check
tagref
shellcheck install.sh
run:
dependencies:
Expand Down Expand Up @@ -122,4 +124,5 @@ tasks:
. $HOME/.cargo/env
cargo build --release
mkdir artifacts
sha256sum --binary target/release/tagref
cp target/release/tagref artifacts/tagref-x86_64-unknown-linux-gnu

0 comments on commit 59ab700

Please sign in to comment.