Skip to content

Commit

Permalink
Merge pull request #6 from axe-api/auto-tag
Browse files Browse the repository at this point in the history
Stable release
  • Loading branch information
ozziest authored Dec 19, 2023
2 parents 43d99cf + d57eba4 commit 1263a22
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 3 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/auto-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Tag and Push

on:
push:
branches:
- master

jobs:
tag-and-push:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install jq
run: sudo apt-get install jq

- name: Get version from package.json
id: version
run: echo ::set-output name=version::$(jq -r .version package.json)

- name: Tag and push to GitHub
run: |
git config --local user.email "[email protected]"
git config --local user.name "Özgür Adem Işıklı"
git tag -a "v${{ steps.version.outputs.version }}" -m "Version ${{ steps.version.outputs.version }}"
git push origin "v${{ steps.version.outputs.version }}"
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes

## [1.0.0 (2023-12-05)]

The current release has been marked as stable.

## [0.1.1 (2023-12-03)]

### Fixes
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "axe-api-client",
"version": "0.1.1",
"version": "1.0.0",
"description": "axe-api-client is a native JavaScript client for Axe API servers.",
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down

0 comments on commit 1263a22

Please sign in to comment.