Skip to content

Release 0.1.0

Release 0.1.0 #1

name: Release RAGStack package
on:
push:
tags:
- "ragstack-ai-ts-*"
jobs:
release:
name: Release package
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: "Setup: Node"
uses: ./.github/actions/setup-node
- name: "Install"
run: |
cd ragstack-ai-ts
yarn install --immutable
- run: yarn npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
generateReleaseNotes: true
prerelease: false
- name: Compute release number
id: release-number
shell: bash
run: |
echo "release-number=$(echo ${{ github.ref }} | sed -e 's/refs\/tags\/ragstack-ai-ts-//')" >> $GITHUB_OUTPUT
# TODO: build docker image