Skip to content

Commit 72bcb38

Browse files
committed
fix
1 parent 9032c1f commit 72bcb38

File tree

3 files changed

+35
-26
lines changed

3 files changed

+35
-26
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
root = true
2+
[*]
3+
indent_style=tab
4+
indent_size=tab
5+
tab_width=4
6+
end_of_line=lf
7+
charset=utf-8
8+
trim_trailing_whitespace=true
9+
max_line_length=120
10+
insert_final_newline=true
11+
12+
[*.{yml,yaml}]
13+
indent_style=space
14+
indent_size=2
15+
tab_width=8
16+
end_of_line=lf

.github/workflows/release.yml

Lines changed: 18 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ name: Release
22

33
on:
44
push:
5-
branches:
6-
- master
7-
# tags:
8-
# - '*'
5+
tags:
6+
- '*'
97

108
permissions:
119
contents: write # required for creating release and uploading assets
@@ -27,12 +25,6 @@ jobs:
2725
uses: actions/checkout@v4
2826
with:
2927
submodules: recursive
30-
# - name: Install deps (Ubuntu)
31-
# if: runner.os == 'Linux'
32-
# uses: awalsh128/cache-apt-pkgs-action@latest
33-
# with:
34-
# packages: lttng-tools lttng-modules-dkms babeltrace2 liblttng-ust-dev python3-babeltrace
35-
# version: 1.0
3628
- name: Build
3729
run: ./build.sh
3830
- name: Compress build output
@@ -45,19 +37,19 @@ jobs:
4537
path: ${{ matrix.os }}-build.tar.gz
4638
retention-days: 1
4739

48-
# create-release:
49-
# name: Create Release
50-
# needs: build-and-upload
51-
# runs-on: ubuntu-latest
52-
# steps:
53-
# - name: Download Artifacts
54-
# uses: actions/download-artifact@v4
55-
# - name: Create Release
56-
# id: create_release
57-
# uses: softprops/action-gh-release@v2
58-
# with:
59-
# make_latest: true
60-
# generate_release_notes: true
61-
# files: |
62-
# ubuntu-latest-build/ubuntu-latest-build.tar.gz
63-
# macos-latest-build/macos-latest-build.tar.gz
40+
create-release:
41+
name: Create Release
42+
needs: build-and-upload
43+
runs-on: ubuntu-latest
44+
steps:
45+
- name: Download Artifacts
46+
uses: actions/download-artifact@v4
47+
- name: Create Release
48+
id: create_release
49+
uses: softprops/action-gh-release@v2
50+
with:
51+
make_latest: true
52+
generate_release_notes: true
53+
files: |
54+
ubuntu-latest-build/ubuntu-latest-build.tar.gz
55+
macos-latest-build/macos-latest-build.tar.gz

scripts/rocksdb.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ cd rocksdb || { echo "directory not found"; exit 1; }
1818

1919
make static_lib
2020

21+
strip librocksdb.a
2122
cp librocksdb.a ${out_dir}
2223

2324
echo "rocksdb built successfully"

0 commit comments

Comments
 (0)