Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 500 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 500 Bytes

Inject copyright and version

Inject author, version and license informations that is from package.json file into css and js files.

    - name: Build
      run: npm run build

    - name: Inject copyright and version
      uses: bndynet/github-action-inject-copyright@v2
      with:
        dist: dist  # optional, default is dist folder

IMPORTANT

Before commit, please run npm run all and commit all files.

This project is based on https://github.com/actions/typescript-action