Giter VIP home page Giter VIP logo

Comments (6)

vitaleon avatar vitaleon commented on August 20, 2024

To fix this simply uncomment line 36 in rules. But replace 2.0-beta-4-0+git$(date +%Y%m%d) with desired version. Perhaps 2.0-beta-7-0+$(date +%Y%m%d) or 2.0-beta-7-0+git$(date +%Y%m%d) be enough.

from nixnote2-packaging.

artmg avatar artmg commented on August 20, 2024

Thanks once more @vitaleon - for now I have plumped for nixnote2-daily+git$(date +%Y%m%d) just for the moment, to get SOMETHING appearing. However in the longer run I'd like to get this version pulled automatically from the version created in the recipe

waiting for code update to build before testing

from nixnote2-packaging.

artmg avatar artmg commented on August 20, 2024

despite the fact that the code in https://github.com/baumgarr/nixnote2/blob/master/help/about.html says __VERSION__ this appears as "nixnote2-daily+" rather than the fuller version string above

from nixnote2-packaging.

artmg avatar artmg commented on August 20, 2024

trying with 'shell' prefix in rules makefile

from nixnote2-packaging.

vitaleon avatar vitaleon commented on August 20, 2024

Moreover you can try something like
DEBVER := $(shell dpkg-parsechangelog --show-field Version)
override_dh_auto_build:
sed -i "s/VERSION/$(DEBVER)/" help/about.html
to automatically set version from changelog

from nixnote2-packaging.

artmg avatar artmg commented on August 20, 2024

Daily PPA now correctly displays Help / About version as nixnote2-daily+YYYYMMDD

This was achieved by updating the debian / rules file to substitute with the system date at the end of the build process:

override_dh_auto_build:
    sed -i "s/__VERSION__/nixnote2-daily+$(shell date +%Y%m%d)/" help/about.html

Issue Closed.

from nixnote2-packaging.

Related Issues (20)

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.