Skip to content

Commit

Permalink
Release 0.4.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Jul 12, 2020
1 parent 2b839f8 commit 4510d04
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 20 deletions.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Summary of user-visible changes

## ??? / ???
## 0.4.2 / 2020-07-11

* Fix a bug where multiple `include` calls would splice locals incorrectly
* Support varargs in hashfn with `$...` (#298)
Expand Down
2 changes: 1 addition & 1 deletion fennel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2810,7 +2810,7 @@ local module = {

eval = eval,
dofile = compiler.dofileFennel,
version = "0.5.0-dev",
version = "0.4.2",
}

utils.fennelModule = module -- yet another circular dependency =(
Expand Down
17 changes: 9 additions & 8 deletions release-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ is intended for Fennel maintainers.
3. Create rockspec by copying an old rockspec. Make sure luarocks version
matches the file name exactly and the tgz URL is updated.
4. Make sure tests pass for all versions of Lua and the linter is OK (`make ci`)
5. Commit above changes.
6. Tag release with chosen git tag, and push to repository.
7. Create a release in GitHub; paste the changelog for this version.
8. Upload rock with `luarocks upload rockspecs/fennel-(version)-1.rockspec`. Test that the new version can be installed thru LuaRocks. Fennel is now released!
9. Update the submodule in the fennel-lang.org repository.
10. Upload builds to https://fennel-lang.org/downloads, including tarball (TODO: automate)
11. Update the download links in `setup.md`.
12. Announce it on the mailing list.
5. Update the download links in `setup.md`.
6. Commit above changes.
7. Tag release with chosen git tag, and push to repository.
8. Create a release in GitHub; paste the changelog for this version.
9. Upload rock with `luarocks upload rockspecs/fennel-(version)-1.rockspec`.
Test that the new version can be installed thru LuaRocks.
10. Update the submodule in the fennel-lang.org repository.
11. Upload builds to https://fennel-lang.org/downloads, including tarball (TODO: automate)
12. Announce it on the mailing list. Fennel is now released!
13. Bump the version in fennel.lua to the next version with a "-dev" suffix; add changelog stub.

32 changes: 32 additions & 0 deletions rockspecs/fennel-0.4.2-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
-- -*- lua -*-

package = "fennel"
version = "0.4.2-1"
source = {
-- use URL to a pre-built release archive so the standalone launcher can be used
url = "https://fennel-lang.org/downloads/Fennel-0.4.2.tgz",
}
description = {
summary = "Lisp that compiles to Lua",
detailed = [[
A lisp-like language that compiles to efficient Lua. Combine
meta-programming with Lua.]],
homepage = "https://fennel-lang.org/",
license = "MIT"
}
dependencies = {
"lua >= 5.1"
}
build = {
type = "builtin",
modules = {
fennel = "fennel.lua",
fennelview = "fennelview.lua",
fennelfriend = "fennelfriend.lua",
},
install = {
bin = {
fennel = "fennel"
},
}
}
20 changes: 10 additions & 10 deletions setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ the script itself is associated with a version of Fennel.

### To download the fennel script

1. Download [the fennel script](https://fennel-lang.org/downloads/fennel-0.4.1)
2. Run `chmod +x fennel-0.4.1` to make it executable
3. Download [the signature](https://fennel-lang.org/downloads/fennel-0.4.1.asc)
4. Run `gpg --verify fennel-0.4.1.asc` to verify that the fennel
1. Download [the fennel script](https://fennel-lang.org/downloads/fennel-0.4.2)
2. Run `chmod +x fennel-0.4.2` to make it executable
3. Download [the signature](https://fennel-lang.org/downloads/fennel-0.4.2.asc)
4. Run `gpg --verify fennel-0.4.2.asc` to verify that the fennel
script is from the Fennel creators (optional but recommended)
5. Move `fennel-0.4.1` to a directory on your `$PATH`, such as `/usr/local/bin`
5. Move `fennel-0.4.2` to a directory on your `$PATH`, such as `/usr/local/bin`

**Note**: You can rename the script to `fennel` for convenience. This
also makes it easy to keep many versions of Fennel installed at once.
Expand All @@ -59,11 +59,11 @@ having to download Lua.
### To download a Fennel binary

1. Choose one the options below, depending on your system:
- [GNU/Linux x86_64](https://fennel-lang.org/downloads/fennel-0.4.1-x86_64) ([signature](https://fennel-lang.org/downloads/fennel-0.4.1-x86_64.asc))
- [GNU/Linux arm32](https://fennel-lang.org/downloads/fennel-0.4.1-arm32) ([signature](https://fennel-lang.org/downloads/fennel-0.4.1-arm32.asc))
- [Windows x86 32-bit](https://fennel-lang.org/downloads/fennel-0.4.1-windows32.exe) ([signature](https://fennel-lang.org/downloads/fennel-0.4.1-windows32.exe.asc))
2. Run `chmod +x fennel-0.4.1*` to make it executable (not needed on Windows)
3. Download the signature and confirm it matches using `gpg --verify fennel-0.4.1*.asc` (optional but recommended)
- [GNU/Linux x86_64](https://fennel-lang.org/downloads/fennel-0.4.2-x86_64) ([signature](https://fennel-lang.org/downloads/fennel-0.4.2-x86_64.asc))
- [GNU/Linux arm32](https://fennel-lang.org/downloads/fennel-0.4.2-arm32) ([signature](https://fennel-lang.org/downloads/fennel-0.4.2-arm32.asc))
- [Windows x86 32-bit](https://fennel-lang.org/downloads/fennel-0.4.2-windows32.exe) ([signature](https://fennel-lang.org/downloads/fennel-0.4.2-windows32.exe.asc))
2. Run `chmod +x fennel-0.4.2*` to make it executable (not needed on Windows)
3. Download the signature and confirm it matches using `gpg --verify fennel-0.4.2*.asc` (optional but recommended)
4. Move the downloaded binary to a directory on your `$PATH`, such as `/usr/local/bin`

## Downloading Fennel using LuaRocks
Expand Down

0 comments on commit 4510d04

Please sign in to comment.