aboutsummaryrefslogtreecommitdiff
path: root/.config/emacs/lisp/evil/scripts/evil-release-stable
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2026-07-30 20:09:00 -0400
committerJack Jamison <jackqjamison@gmail.com>2026-07-30 20:18:37 -0400
commit8c4e09dff83847ac7f07bf1da7751e9328006c4d (patch)
treea0e245567ce225f8bcb63b66e4d2373b5d033e4a /.config/emacs/lisp/evil/scripts/evil-release-stable
parent1e33b30749bb1043ffc6ceb5a2fb0977446788b3 (diff)
actual final changes and get rid of junk in lisp dir
actually works fine
Diffstat (limited to '.config/emacs/lisp/evil/scripts/evil-release-stable')
-rwxr-xr-x.config/emacs/lisp/evil/scripts/evil-release-stable52
1 files changed, 0 insertions, 52 deletions
diff --git a/.config/emacs/lisp/evil/scripts/evil-release-stable b/.config/emacs/lisp/evil/scripts/evil-release-stable
deleted file mode 100755
index c075903..0000000
--- a/.config/emacs/lisp/evil/scripts/evil-release-stable
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/usr/bin/env ruby
-
-# Copyright (c) 2015 Frank Fischer <frank-fischer@shadow-soft.de>
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>
-
-
-# This script releases a new (minor) stable release given that some
-# new commits on the stable branch since the last tag exist.
-
-Dir.chdir File.dirname(__FILE__)
-
-def die(msg = "Failed")
- STDERR.puts msg
- exit 1
-end
-
-def run(cmd)
- system(cmd) or die(cmd)
-end
-
-run 'hg pull'
-run 'hg update -r stable'
-
-tag = `hg tags`.split("\n").select{|line| line =~ /^\d+\.\d+\.\d+/}.map do |line|
- tag, rev = line.split
- major, minor, tiny = tag.split(/\./).map(&:to_i)
- [major, minor, tiny, rev[/\d+/].to_i]
-end.max
-
-tag or die 'No tagged revision found'
-
-stable = `hg log -r 'branch(stable) and not file("../.hgtags") and not ..tag("re:\\d+\\.\\d+\\.\\d+")' | wc -l`.to_i != 0
-
-if stable
- new_tag = "#{tag[0]}.#{tag[1]}.#{tag[2]+1}"
- run "make -C .. nversion VERSION='#{new_tag}'"
- run "hg commit -m 'update version to #{new_tag}'"
- run "hg tag -m 'version #{new_tag}' -r stable #{new_tag}"
- run "hg push -r stable"
-end