Skip to content

Commit

Permalink
Install gh on ubuntu-latest run; prep 0.15.12 release (#4509)
Browse files Browse the repository at this point in the history
* Install gh on ubuntu-latest run

* Prep 0.15.12 release
  • Loading branch information
JordanMartinez committed Oct 7, 2023
1 parent 843c109 commit 2412101
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 5 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,17 @@ jobs:
. /etc/os-release
echo deb http://deb.debian.org/debian "$VERSION_CODENAME"-backports main >> /etc/apt/sources.list
apt-get update && apt-get install -y git/"$VERSION_CODENAME"-backports
- # We need `gh` installed on the Linux version. Otherwise, release artifacts won't be uploaded.
name: "(Linux only) Install gh"
if: "contains(matrix.os, 'ubuntu-latest')"
run: |
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
apt-get update
apt-get install gh
- uses: "actions/checkout@v2"
- uses: "actions/setup-node@v2"
with:
Expand Down
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Notable changes to this project are 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).

## 0.15.11
## 0.15.12

New features:

Expand Down Expand Up @@ -54,10 +54,15 @@ Bugfixes:

Internal:

* Use `gh` for release artifacts (#4493 by @rhendric)
* Use `gh` for release artifacts (#4493 by @rhendric, #4509 by @JordanMartinez)

* Stop triggering CI on non-code-related changes (e.g. Readme) (#4502 by @JordanMartinez)


## 0.15.11

Please use `0.15.12` instead of this release. There was an issue with the Linux build. This release notes were moved into `0.15.12`'s release notes.

## 0.15.10

New features:
Expand Down
4 changes: 2 additions & 2 deletions npm-package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "purescript",
"version": "0.15.11",
"version": "0.15.12",
"license": "ISC",
"description": "PureScript wrapper that makes it available as a local dependency",
"author": {
Expand Down Expand Up @@ -43,7 +43,7 @@
],
"scripts": {
"prepublishOnly": "node -e \"require('fs').copyFileSync('purs.bin.placeholder', 'purs.bin');\"",
"postinstall": "install-purescript --purs-ver=0.15.11",
"postinstall": "install-purescript --purs-ver=0.15.12",
"test": "echo 'Error: no test specified' && exit 1"
}
}
2 changes: 1 addition & 1 deletion purescript.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cabal-version: 2.4

name: purescript
-- Note: don't add prerelease identifiers here! Add them in app/Version.hs and npm-package/package.json instead.
version: 0.15.11
version: 0.15.12
synopsis: PureScript Programming Language Compiler
description: A small strongly, statically typed programming language with expressive types, inspired by Haskell and compiling to JavaScript.
category: Language
Expand Down

0 comments on commit 2412101

Please sign in to comment.