Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
0.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikbosch committed Jan 16, 2016
1 parent a295978 commit 0f16f76
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
*.exe

# Generated by Cargo
/daemon/target/
/target/

# IDE
/.idea

# Cargo overrides
/.cargo
/.cargo
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 = "gworkerd"
version = "0.5.0"
version = "0.5.3"
authors = [ "Frederik Bosch <[email protected]>" ]

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion assets/config/example.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"monitor": {
"address": "localhost:3000",
"webapp_path": "../webapp/dist",
"webapp_path": "monitor/dist",
"websockets": false,
"password": "test"
}
Expand Down
2 changes: 1 addition & 1 deletion monitor
Submodule monitor updated 2 files
+3 −0 .gitignore
+1 −1 app/routes/login.js
31 changes: 31 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash
if [ -z "$1" ]; then
echo "You forgot the version number"
exit 1
fi

# make sure we are in the right directory
cd "$(dirname "$0")"

# update monitor submodule to latest commit
git submodule update --remote --merge

# install monitor dependencies and build monitor
cd monitor && npm install && bower install && ember build --environment=production && cd ..

# modify version number in cargo toml
version_toml="version = \"$1\""
sed -i "s/version\(.*\)/$version_toml/" Cargo.toml

# build daemon
cargo build --release

# commit current version
git commit -a -m $1 && git push && git tag $1 && git push --tags

# tar gz daemon and monitor
tar --transform "s|monitor/dist|monitor|" \
--transform "s|target/release/gworkerd|gworkerd|" \
-cvzf release/gworkerd.$1.tar.gz \
target/release/gworkerd \
monitor/dist
2 changes: 2 additions & 0 deletions release/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore

0 comments on commit 0f16f76

Please sign in to comment.