Skip to content

Commit

Permalink
chore: create tag
Browse files Browse the repository at this point in the history
  • Loading branch information
joannechen1223 committed Mar 12, 2024
1 parent 4e717cb commit b349c93
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: lint/test/typecheck
on:
push:
branches:
- master
- main
pull_request:
branches-ignore:
branches-ignore:
- recnet-api-dev

permissions:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/recnet-api-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,14 @@ jobs:
- name: Use extracted version
run: |
echo "Extracted version: ${{ steps.extract_version.outputs.version }}"
- name: Create tag
uses: actions/github-script@v5
with:
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'refs/tags/${{ steps.extract_version.outputs.version }}',
sha: context.sha
})
2 changes: 1 addition & 1 deletion apps/recnet-api/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "recnet-api",
"version": "1.0.1"
"version": "1.0.2"
}

0 comments on commit b349c93

Please sign in to comment.