File: release-check

package info (click to toggle)
vim-addon-manager 0.5.10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 312 kB
  • sloc: ruby: 970; makefile: 15; sh: 7
file content (11 lines) | stat: -rwxr-xr-x 289 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env ruby

require './lib/vim/addon_manager/version.rb'

pkg = `dpkg-parsechangelog -SVersion`.strip
src = Vim::AddonManager::VERSION

if pkg != src
  puts "W: inconsistent versions! debian/changelog says #{pkg}, while lib/vim/addon_manager/version.rb says #{src}!"
  exit 1
end