Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .github/workflows/CI-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,19 @@ jobs:
contents: write
id-token: write
steps:
- name: Generate release token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.RELEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}

- uses: actions/checkout@v4
with:
ref: master
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}

- uses: actions/setup-node@v4
with:
node-version: 22
Expand All @@ -33,16 +42,16 @@ jobs:

- name: Set up Git commit author
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git config --local user.name "bitsocial-release-bot[bot]"
git config --local user.email "3419549+bitsocial-release-bot[bot]@users.noreply.github.com"

- name: Get current version
id: before
run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT

- name: Create Github Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
run: npm run release -- --ci

- name: Check if released
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ jobs:
- run: npm run build
- run: npx oclif manifest

- name: Verify global install from pack
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
TARBALL=$(npm pack)
npm install -g "./$TARBALL"
bitsocial --version

# disable hosts we shouldn't use (Linux only)
- name: Block unwanted hosts
if: matrix.os == 'ubuntu-latest'
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Bitsocial is p2p and decentralized social media protocol built completely with I

## Install

Requires [Node.js 22](https://nodejs.org/) or later.
Requires Node.js 22 or later. We recommend using [nvm](https://github.com/nvm-sh/nvm) to install and manage Node.js versions.

```sh-session
npm install -g @bitsocial/bitsocial-cli
Expand Down Expand Up @@ -668,7 +668,7 @@ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.3

## `bitsocial logs`

View the latest BitSocial daemon log file. By default dumps the full log and exits. Use --follow to stream new output in real-time (like tail -f).
View the latest Bitsocial daemon log file. By default dumps the full log and exits. Use --follow to stream new output in real-time (like tail -f).

```
USAGE
Expand All @@ -684,7 +684,7 @@ FLAGS
42m, 2h, 1d)

DESCRIPTION
View the latest BitSocial daemon log file. By default dumps the full log and exits. Use --follow to stream new output
View the latest Bitsocial daemon log file. By default dumps the full log and exits. Use --follow to stream new output
in real-time (like tail -f).

EXAMPLES
Expand Down
Loading
Loading