diff options
author | David Hummel | 2023-10-29 11:52:45 -0700 |
---|---|---|
committer | David Hummel | 2023-10-29 11:52:45 -0700 |
commit | e4057f67e2f88cca14d21016da6e280e1cded425 (patch) | |
tree | d8d5143a40ebb8443a4276db12308278af110771 | |
parent | 8d6e44a3dda9c12327d2e5417abf35afb097d083 (diff) | |
download | aur-atom-community-git.tar.gz |
Update pkgver & pkgver()
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = atom-community-git pkgdesc = A hackable text editor for the 21st century, built on Electron, and based on everything we love about our favorite editors. - pkgver = 1.63.0_dev_0f7c5c14e + pkgver = 1.63.0_dev.r39017.g0f7c5c1 pkgrel = 1 url = https://github.com/atom-community/atom arch = x86_64 @@ -4,7 +4,7 @@ _gitname=atom _pkgname=${_gitname}-community pkgname=${_pkgname}-git -pkgver=1.63.0_dev_0f7c5c14e +pkgver=1.63.0_dev.r39017.g0f7c5c1 pkgrel=1 pkgdesc="A hackable text editor for the 21st century, built on Electron, and based on everything we love about our favorite editors." url="https://github.com/atom-community/atom" @@ -33,7 +33,7 @@ prepare() { pkgver() { cd ${_gitname} - printf "%s_%s" "$(npm pkg get version | sed 's/-/_/' | sed 's/"//g')" "$(git log -1 --pretty=format:'%h')" + printf "%s.r%s.g%s" "$(npm pkg get version | sed 's/-/_/' | sed 's/"//g')" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" } build() { |