mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
fix: remove references to nonexistent static/yarn.lock
File was removed in #11903. Also remove publishing script that has been unused for some time
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -45,9 +45,7 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: |
|
||||
yarn.lock
|
||||
static/yarn.lock
|
||||
cache-dependency-path: yarn.lock
|
||||
|
||||
- name: Set up Java
|
||||
uses: actions/setup-java@v3
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -14,7 +14,6 @@ pom.xml.asc
|
||||
|
||||
node_modules/
|
||||
static/**
|
||||
!static/yarn.lock
|
||||
tmp
|
||||
cljs-test-runner-out
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ const css = {
|
||||
const common = {
|
||||
clean () {
|
||||
return del(
|
||||
['./static/**/*', '!./static/yarn.lock', '!./static/node_modules'])
|
||||
['./static/**/*', '!./static/node_modules'])
|
||||
},
|
||||
|
||||
syncResourceFile () {
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
yarn clean && yarn release-publishing
|
||||
/usr/bin/rm -rf /tmp/publishing
|
||||
mkdir /tmp/publishing
|
||||
cp -R ./static /tmp/publishing/
|
||||
cp ./static/404.html /tmp/publishing/
|
||||
/usr/bin/rm -rf /tmp/publishing/static/node_modules/
|
||||
/usr/bin/rm /tmp/publishing/static/electron*
|
||||
/usr/bin/rm /tmp/publishing/static/forge.config.js
|
||||
/usr/bin/rm /tmp/publishing/static/package.json
|
||||
/usr/bin/rm /tmp/publishing/static/yarn.lock
|
||||
/usr/bin/rm /tmp/publishing/static/index.html
|
||||
/usr/bin/rm /tmp/publishing/static/404.html
|
||||
/usr/bin/rm /tmp/publishing/static/public.css
|
||||
cd /tmp/publishing/
|
||||
mv ./static/js/publishing/code-editor.js ./static/js/
|
||||
tar -zcvf /tmp/logseq_publishing.tar.gz ./
|
||||
Reference in New Issue
Block a user