Skip to content

Commit

Permalink
v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Aug 8, 2019
1 parent 4fe805a commit 2b2fe48
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## v0.3.0 - 2019-08-08

- New project structure can be generated with the `gleam new` command.
- Functions can be annotated with their argument and return types. This may be
Expand Down
4 changes: 3 additions & 1 deletion bin/build-linux-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ set -eu

GLEAM_ROOT=$(pwd)
TAG=$(git tag --points-at HEAD)
DOCKER_TAG=lpil/gleam:${TAG:1}
DOCKER_TAG=lpil/gleam:$(echo $TAG | tail -c +2)
ARCHIVE=gleam-$TAG-linux-amd64.tar.gz
CONTAINER_NAME=gleam-linux-builder

echo Building $DOCKER_TAG

cd gleam
docker build . -t $DOCKER_TAG
docker push $DOCKER_TAG
Expand Down
2 changes: 1 addition & 1 deletion gleam/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 gleam/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gleam"
version = "0.3.0-dev"
version = "0.3.0"
authors = ["Louis Pilfold <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion gleam/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ekidd/rust-musl-builder:1.34.2 as build

# Build
COPY . .
RUN cargo build --release
RUN sudo chown -R rust:rust /home/rust && cargo build --release

# Create user
FROM alpine:latest as alpine
Expand Down
2 changes: 1 addition & 1 deletion gleam/src/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fn write(path: PathBuf, contents: &str) {
}

fn gleam_toml(name: &str) -> String {
format!("name = {}\n", name)
format!("name = \"{}\"\n", name)
}

fn readme(name: &str) -> String {
Expand Down

0 comments on commit 2b2fe48

Please sign in to comment.