Giter VIP home page Giter VIP logo

com.logseq.logseq's Introduction

Logseq Flatpak

How to update to a new version

Set the VERSION environment variable

export VERSION=0.5.7

Download the latest release from https://github.com/logseq/logseq/releases

curl -O https://github.com/logseq/logseq/archive/refs/tags/$VERSION.tar.gz

Generate the sha256sum

sha256sum logseq-$VERSION.tar.gz

Update the release url and the sha257sum in the com.logseq.Logseq.json file.

Generate generated-sources.json use the flatpak-node-generator.py script from flatpak-builder-tools

python3 ~/r/flatpak-builder-tools/node/flatpak-node-generator.py -r yarn \
  logseq-$VERSION/yarn.lock --xdg-layout -o generated-sources.json

Finally we may also need to update the clojure dependencies.

First we need to build the new release to force download dependencies.

rm -rf ~/.m2/repository
cd logseq-$VERSION
yarn gulp:build && yarn cljs:release-electron

Then update the maven-sources.json file

python3 flatpak-clj-generator-from-cache.py > maven-sources.json

Finally, test the build

flatpak-builder --user --install --force-clean build-dir/ com.logseq.Logseq.json

If all goes well, we can commit and push a new release.

com.logseq.logseq's People

Contributors

kanru avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.