Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make scripts/gh/show-bump.sh run in nix #2820

Merged
merged 3 commits into from
Aug 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
1 change: 0 additions & 1 deletion .jira.d/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

endpoint: https://jira.iohk.io
project: ADP
authentication-method: bearer-token

custom-commands:
- name: bugs
Expand Down
6 changes: 4 additions & 2 deletions scripts/gh/show-bump.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down