Skip to content

Commit

Permalink
Create a build branch for release
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanuzzamanbe committed Sep 26, 2023
1 parent 82387e2 commit 3c9723f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
src export-ignore
package.json export-ignore
package-lock.json export-ignore
.gitignore export-ignore
.gitattributes export-ignore
vite.config.js export-ignore
yarn.lock export-ignore
.github export-ignore
node_modules export-ignore
README.md export-ignore
15 changes: 10 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand All @@ -26,18 +26,23 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm ci --force
- run: npm run build --if-present
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
files: |
assets/*
tag_name: 1.0.5
release_name: Release 1.0.5
body: |
Changes in this Release
- Changes ${{ github.ref }}
draft: false
prerelease: false




2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Logs
/.assets
logs
*.log
npm-debug.log*
Expand Down Expand Up @@ -108,3 +107,4 @@ dist
src/images/.DS_Store
.DS_Store
*.xml
assets/*

0 comments on commit 3c9723f

Please sign in to comment.