Skip to content

Commit 2b2fe48

Browse files
committed
v0.3.0
1 parent 4fe805a commit 2b2fe48

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## Unreleased
3+
## v0.3.0 - 2019-08-08
44

55
- New project structure can be generated with the `gleam new` command.
66
- Functions can be annotated with their argument and return types. This may be

bin/build-linux-release.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ set -eu
44

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

11+
echo Building $DOCKER_TAG
12+
1113
cd gleam
1214
docker build . -t $DOCKER_TAG
1315
docker push $DOCKER_TAG

gleam/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gleam/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "gleam"
3-
version = "0.3.0-dev"
3+
version = "0.3.0"
44
authors = ["Louis Pilfold <[email protected]>"]
55
edition = "2018"
66

gleam/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ekidd/rust-musl-builder:1.34.2 as build
22

33
# Build
44
COPY . .
5-
RUN cargo build --release
5+
RUN sudo chown -R rust:rust /home/rust && cargo build --release
66

77
# Create user
88
FROM alpine:latest as alpine

gleam/src/new.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fn write(path: PathBuf, contents: &str) {
6363
}
6464

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

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

0 commit comments

Comments
 (0)