Skip to content

Commit

Permalink
Release script & CI: name based on tag (WIP broken)
Browse files Browse the repository at this point in the history
  • Loading branch information
sullyj3 committed Jul 25, 2024
1 parent 65aa67e commit 95522d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,19 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-tags: "true"
- name: Run Lean Action
uses: leanprover/lean-action@v1
with:
auto-config: "false"
use-mathlib-cache: "false"
build: "true"
- name: Create package
id: create-package
run: |
./create_release.sh
- name: Upload artifact
uses: actions/upload-artifact@v4.3.4
with:
name: sand
path: release.tar.zst
path: release/sand-*-x86_64-linux.tar.zst
5 changes: 2 additions & 3 deletions create_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ if [ ! -f .lake/build/bin/sand ]; then
exit 1
fi

# tag=$(git describe --tags --abbrev=0)
# dir="sand-$tag"
dir="sand"
tag=$(git describe --tags --abbrev=0)
dir="sand-$tag"

set -x

Expand Down

0 comments on commit 95522d8

Please sign in to comment.