Skip to content

Commit 1168b6c

Browse files
committed
chore: bump version to v0.1.1 and fix release automation
1 parent 6fe6221 commit 1168b6c

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,26 @@ jobs:
6363
# Write to file to handle multiline
6464
echo "$NOTES" > release_notes.md
6565
66+
- name: Build Antora UI Bundle
67+
run: |
68+
# Fetch the default UI bundle to use as a base
69+
curl -L -o default-ui-bundle.zip https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
70+
# Create a temporary directory to merge files
71+
mkdir -p build/ui-bundle
72+
unzip default-ui-bundle.zip -d build/ui-bundle
73+
cp -r supplemental-ui/* build/ui-bundle/
74+
# Create the new bundle
75+
cd build/ui-bundle
76+
zip -r ../../ui-bundle.zip .
77+
cd ../..
78+
6679
- name: Create GitHub Release
6780
uses: softprops/action-gh-release@v2
6881
with:
6982
body_path: release_notes.md
7083
files: |
7184
antora-dark-theme-*.tgz
85+
ui-bundle.zip
7286
generate_release_notes: true
7387
env:
7488
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "antora-dark-theme",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Dark mode supplemental UI theme for Antora documentation sites",
55
"keywords": [
66
"antora",

0 commit comments

Comments
 (0)