build: determine electron version from tags not files (#36106)

* build: determine electron version from tags not files

* build: make electron_version dependent on packed-refs and git HEAD

* build: do not delete electron/.git

* build: do not revert a commit we didn't make

* build: gen version file instead of just writing it

* build: update cache and ninja targets

* build: copy resource.h to generated electron.rc

* build: electron_win32_resources should be public deps

* build: also copy the icon
This commit is contained in:
Samuel Attard
2022-10-24 23:44:43 -07:00
committed by GitHub
parent ad289d120f
commit 7ca2bb5f9c
18 changed files with 145 additions and 260 deletions

View File

@@ -0,0 +1 @@
$full_version