Skip to content

Commit

Permalink
Fix bugs in release automation
Browse files Browse the repository at this point in the history
  • Loading branch information
zombiezen committed Sep 29, 2020
1 parent dbc6391 commit 9693ea6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ jobs:
name: Debian
runs-on: ubuntu-18.04
steps:
- name: Install Debian tooling
run: sudo apt-get install -y --no-install-recommends dpkg lintian
- name: Set up Go
uses: actions/setup-go@v2
with:
Expand Down Expand Up @@ -85,7 +87,7 @@ jobs:
runs-on: ubuntu-18.04
steps:
- name: Install rpm
run: sudo apt-get install rpm
run: sudo apt-get install -y --no-install-recommends rpm
- name: Set up Go
uses: actions/setup-go@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion debpackage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
set -euo pipefail

if [[ $# -ne 0 ]]; then
echo "usage: VERSION=vX.Y.Z package.sh" 1>&2
echo "usage: VERSION=vX.Y.Z debpackage.sh" 1>&2
exit 64
fi

Expand Down
2 changes: 1 addition & 1 deletion yb.spec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ with ease.
mkdir -p %{buildroot}/usr/bin/
# TODO(light): This could be under %build.
VERSION=v%{version} ./build.sh %{buildroot}/usr/bin/yb
chmod 755 yb %{buildroot}/usr/bin/yb
chmod 755 %{buildroot}/usr/bin/yb

%files
%license LICENSE
Expand Down

0 comments on commit 9693ea6

Please sign in to comment.