Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
chore(release): 2.1.0 [skip ci]
Browse files Browse the repository at this point in the history
# [2.1.0](v2.0.6...v2.1.0) (2022-10-20)

### Features

* `package.json` and `package-lock.json` in repo root does not trigger python run ([755c588](755c588))
  • Loading branch information
semantic-release-bot committed Oct 20, 2022
1 parent 024f67c commit 063aadd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [2.1.0](https://github.com/Lundalogik/differential-build-action/compare/v2.0.6...v2.1.0) (2022-10-20)


### Features

* `package.json` and `package-lock.json` in repo root does not trigger python run ([755c588](https://github.com/Lundalogik/differential-build-action/commit/755c5881b899a62c8bedf08735b874f4fa766bba))

## [2.0.6](https://github.com/Lundalogik/differential-build-action/compare/v2.0.5...v2.0.6) (2020-10-06)


Expand Down
7 changes: 6 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ async function run() {

const run_python =
runEverything ||
!!filenames.find((file) => !file.startsWith('frontend/'));
!!filenames.find(
(file) =>
!file.startsWith('frontend/') &&
file !== 'package.json' &&
file !== 'package-lock.json'
);
const run_admin =
runEverything ||
!!filenames.find((file) => file.startsWith('frontend/admin/'));
Expand Down

0 comments on commit 063aadd

Please sign in to comment.