From e5215ee3dc2c71478e454cc28f20ec73c5e8f0b2 Mon Sep 17 00:00:00 2001 From: Johannes Lund Date: Wed, 11 Aug 2021 11:12:13 +0200 Subject: [PATCH 1/3] Make scripts/gh/show-bump.sh run in nix Such that everyone can run it without installing the deps manually. --- scripts/gh/show-bump.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/gh/show-bump.sh b/scripts/gh/show-bump.sh index 4f464f2b4f4..638b99d9591 100755 --- a/scripts/gh/show-bump.sh +++ b/scripts/gh/show-bump.sh @@ -1,6 +1,8 @@ -#!/usr/bin/env bash +#! /usr/bin/env nix-shell +#! nix-shell -i bash -p nix coreutils gnugrep gnused html-xml-utils +# shellcheck shell=bash disable=SC2016 + # Needs gnused and W3C html-xml-utils -# shellcheck disable=SC2016 set -euo pipefail From db64218056c9076f245f4177e722aa6494eb5904 Mon Sep 17 00:00:00 2001 From: Rodney Lorrimar Date: Mon, 16 Aug 2021 16:24:31 +0800 Subject: [PATCH 2/3] .jira.d/config.yml: remove authentication-method from this file Better to let the user select their auth preferences with ~/.jira.d. --- .jira.d/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.jira.d/config.yml b/.jira.d/config.yml index feb281b389a..db17016b447 100644 --- a/.jira.d/config.yml +++ b/.jira.d/config.yml @@ -21,7 +21,6 @@ endpoint: https://jira.iohk.io project: ADP -authentication-method: bearer-token custom-commands: - name: bugs From e29b1e40a405dc7b501cd44aa10eb9fe8d7e9022 Mon Sep 17 00:00:00 2001 From: Rodney Lorrimar Date: Mon, 16 Aug 2021 16:39:18 +0800 Subject: [PATCH 3/3] github actions: Provide nix-shell for ./scripts/gh/show-bump.sh --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7306f84a715..56e4813b802 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,11 +85,13 @@ jobs: run: | gem install bump-cli sudo snap install yq - sudo apt-get -yu install html-xml-utils - name: 'Update Release in Bump.sh' run: './scripts/gh/update-bump.sh' env: BUMP_SH_DOC_ID: ${{ secrets.BUMP_SH_DOC_ID }} BUMP_SH_TOKEN: ${{ secrets.BUMP_SH_TOKEN }} + - uses: cachix/install-nix-action@v13 + with: + nix_path: nixpkgs=channel:nixpkgs-21.05-darwin - name: 'Show latest changes from Bump.sh' run: './scripts/gh/show-bump.sh'