Projects
home:manfred-h
kodi-next
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 12
View file
get_version.sh
Deleted
@@ -1,18 +0,0 @@ -#!/bin/bash - -SOURCE0=$(rpmspec -P kodi.spec |grep Source0 | awk '{print $2}' | sed -e 's/.tar.gz//') -TAG=$(basename $SOURCE0) - -function getJsonVal () { - python3 -c "import json,sys;obj=json.load(sys.stdin);print (obj$1);" -} - -API_URL=https://api.github.com/repos/xbmc/xbmc/git -_sha=$(curl -s $API_URL/refs/tags/$TAG | getJsonVal "'object''sha'") -sha=${_sha:0:7} - -_date=$(curl -s $API_URL/commits/$_sha | getJsonVal "'committer''date'") -date=$(date -d$_date +%Y%m%d) - -echo "$date-$sha" > kodi.VERSION -
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.