Skip to content

Commit 9e327f2

Browse files
committed
files
1 parent c889e77 commit 9e327f2

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
name: ${{ env.RELEASE_DATE }}
4848
# A unique tag is required for releases.
4949
# We'll use the date and the run ID to ensure uniqueness.
50-
tag_name: db-${{ env.RELEASE_DATE }}-${{ github.run_id }}
51-
# Attach the generated database file to the release
52-
files: data/github.db
50+
tag_name: db-${{ env.RELEASE_DATE }}
51+
# Attach all files from the data directory
52+
files: data/*
5353
env:
5454
GITHUB_TOKEN: ${{ secrets.PAT }} # Use personal access token instead of default token

scripts/download_issues.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def download_issues_data(org, db):
2828
run(cmd.split())
2929
print(f"Finished loading new issues to {db}")
3030

31-
path_out = (here / ".." / "data" / "github.db").resolve()
31+
org = "jupyter-book"
32+
path_out = (here / ".." / "data" / f"{org}.db").resolve()
3233
print(f"Downloading to {path_out}")
33-
download_issues_data("jupyter-book", path_out)
34+
download_issues_data(org, path_out)

0 commit comments

Comments
 (0)