Skip to content

Commit

Permalink
Use common build script
Browse files Browse the repository at this point in the history
  • Loading branch information
jc21 committed Jun 25, 2024
1 parent 062ad26 commit 94609a7
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 134 deletions.
10 changes: 3 additions & 7 deletions Jenkinsfile.centos7 → Jenkinsfile.el8
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@ pipeline {
ansiColor('xterm')
}
agent {
label 'rpmbuild'
label 'rpm'
}
stages {
stage('Build') {
steps {
sh './build 7 golang'
}
}
stage('Sign') {
steps {
rpmBuild(8, 'golang')
rpmSign()
}
}
Expand All @@ -28,7 +24,7 @@ pipeline {
dir(path: 'SRPMS') {
archiveArtifacts(artifacts: '**/*.src.rpm', caseSensitive: true, onlyIfSuccessful: true, allowEmptyArchive: true)
}
rpmGithubRelease('centos7')
rpmGithubRelease('el8')
}
}
}
Expand Down
10 changes: 3 additions & 7 deletions Jenkinsfile.centos8 → Jenkinsfile.el9
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@ pipeline {
ansiColor('xterm')
}
agent {
label 'rpmbuild'
label 'rpm'
}
stages {
stage('Build') {
steps {
sh './build 8 golang'
}
}
stage('Sign') {
steps {
rpmBuild(9, 'golang')
rpmSign()
}
}
Expand All @@ -28,7 +24,7 @@ pipeline {
dir(path: 'SRPMS') {
archiveArtifacts(artifacts: '**/*.src.rpm', caseSensitive: true, onlyIfSuccessful: true, allowEmptyArchive: true)
}
rpmGithubRelease('centos8')
rpmGithubRelease('el9')
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# [wtf](https://github.com/wtfutil/wtf)

Builds for Centos 7/8 hosted on [yum.jc21.com](https://yum.jc21.com)
Builds for Enterprise Linux hosted on [yum.jc21.com](https://yum.jc21.com)
9 changes: 6 additions & 3 deletions SPECS/wtf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

%global gh_user wtfutil
%global gh_name wtf
%global gh_commit f20465340a7937aa24b73f25fbf36cdccc415790
%global gh_commit ea7f6ed1ce0e3a96c7ce7aa337bfdae9cfc27a93
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})

Name: wtfutil
Version: 0.40.0
Release: 1
Version: 0.43.0
Release: 1%{?dist}
Summary: A personal terminal-based dashboard utility, designed for displaying infrequently-needed, but very important, daily data.
Group: Applications/System
License: GNU
Expand Down Expand Up @@ -37,6 +37,9 @@ install -Dm0755 bin/wtfutil %{buildroot}%{_bindir}/wtfutil
%{_bindir}/%{name}

%changelog
* Tue Jun 25 2024 Jamie Curnow <[email protected]> 0.43.0-1
- v0.43.0

* Wed Nov 3 2021 Jamie Curnow <[email protected]> 0.40.0-1
- v0.40.0

Expand Down
115 changes: 0 additions & 115 deletions build

This file was deleted.

2 changes: 1 addition & 1 deletion rpm.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"publish": {
"PACKAGE": "wtf",
"GH_USER": "jc21-rpm",
"VERSION": "0.40.0"
"VERSION": "0.43.0"
}
}

0 comments on commit 94609a7

Please sign in to comment.