File: README.source

package info (click to toggle)
strophejs 3.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,176 kB
  • sloc: javascript: 6,847; python: 179; makefile: 81
file content (16 lines) | stat: -rw-r--r-- 593 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Use something like the script below to update from Git

#!/bin/bash

VERSION=$(dpkg-parsechangelog | sed -rne 's/^Version: ([0-9.]+)[-+].*$$/\1/p')

echo "*.min.js export-ignore" > .gitattributes
echo ".gitignore export-ignore" >> .gitattributes
echo "$VERSION" > version.txt

# assumes there is a tag named "v$VERSION"
git archive --worktree-attributes --format tar --prefix strophejs-$VERSION/ -o ../strophejs_${VERSION}+dfsg.orig.tar v$VERSION
tar --transform "s,^,strophejs-$VERSION/,"  -rf ../strophejs_${VERSION}+dfsg.orig.tar version.txt
cd ..

bzip2 strophejs_${VERSION}+dfsg.orig.tar