Changeset - db25cc075b55
[Not reviewed]
0 1 0
Branko Majic (branko) - 13 months ago 2023-03-04 12:09:08
branko@majic.rs
[factorio_development.sh] Fixed switching back to development version in info file:

- The sed expression was a bit too trigger-happy in replacing version
strings used in dependencies.
- Bump the year in copyright notice.
1 file changed with 6 insertions and 4 deletions:
0 comments (0 inline, 0 general)
games/factorio_development.sh
Show inline comments
 
@@ -2,7 +2,7 @@
 
#
 
# factorio_development.sh
 
#
 
# Copyright (C) 2022, Branko Majic <branko@majic.rs>
 
# Copyright (C) 2023, Branko Majic <branko@majic.rs>
 
#
 
# 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
 
@@ -22,7 +22,7 @@
 
set -u
 

	
 
PROGRAM="factorio_development.sh"
 
VERSION="1.1.0"
 
VERSION="1.1.1"
 

	
 
function usage() {
 
    cat <<EOF
 
@@ -896,8 +896,10 @@ function command_release() {
 
        return 1
 
    fi
 

	
 
    # Switch back to development version.
 
    sed -i -e "s/$version/999.999.999/" "$info_file"
 
    # Switch back to development version. Include double quotes in
 
    # order to avoid accidental replacement of version strings in
 
    # dependencies.
 
    sed -i -e "s/\"$version\"/\"999.999.999\"/" "$info_file"
 
    changelog=$(cat <<EOF
 
---------------------------------------------------------------------------------------------------
 
Version: 999.999.999
0 comments (0 inline, 0 general)