From 9147def1da7ad1bdd47b3559eb1bfeeb0e0f374b Mon Sep 17 00:00:00 2001
From: Martin Matuska <martin@matuska.org>
Date: Wed, 9 Feb 2022 09:41:14 +0100
Subject: [PATCH] Release 3.6.0

---
 CMakeLists.txt       | 2 +-
 NEWS                 | 2 ++
 build/version        | 2 +-
 configure.ac         | 2 +-
 libarchive/archive.h | 2 +-
 5 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1e1ff575f..7a0d300a5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,7 +21,7 @@ endif()
 #   RelWithDebInfo : Release build with Debug Info
 #   MinSizeRel     : Release Min Size build
 IF(NOT CMAKE_BUILD_TYPE)
-  SET(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build Type" FORCE)
+  SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build Type" FORCE)
 ENDIF(NOT CMAKE_BUILD_TYPE)
 # Set a value type to properly display CMAKE_BUILD_TYPE on GUI if the
 # value type is "UNINITIALIZED".
diff --git a/NEWS b/NEWS
index 54578a239..0ccdb5d61 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+Feb 09, 2022: libarchive 3.6.0 released
+
 Feb 08, 2022: libarchive 3.5.3 released
 
 Aug 22, 2021: libarchive 3.5.2 released
diff --git a/build/version b/build/version
index e29482a0a..102ec29cb 100644
--- a/build/version
+++ b/build/version
@@ -1 +1 @@
-3006000dev
+3006000
diff --git a/configure.ac b/configure.ac
index 261355950..3eee3aa80 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ dnl First, define all of the version numbers up front.
 dnl In particular, this allows the version macro to be used in AC_INIT
 
 dnl These first two version numbers are updated automatically on each release.
-m4_define([LIBARCHIVE_VERSION_S],[3.6.0dev])
+m4_define([LIBARCHIVE_VERSION_S],[3.6.0])
 m4_define([LIBARCHIVE_VERSION_N],[3006000])
 
 dnl bsdtar and bsdcpio versioning tracks libarchive
diff --git a/libarchive/archive.h b/libarchive/archive.h
index 47d583fbc..633c5ac30 100644
--- a/libarchive/archive.h
+++ b/libarchive/archive.h
@@ -155,7 +155,7 @@ __LA_DECL int		archive_version_number(void);
 /*
  * Textual name/version of the library, useful for version displays.
  */
-#define	ARCHIVE_VERSION_ONLY_STRING "3.6.0dev"
+#define	ARCHIVE_VERSION_ONLY_STRING "3.6.0"
 #define	ARCHIVE_VERSION_STRING "libarchive " ARCHIVE_VERSION_ONLY_STRING
 __LA_DECL const char *	archive_version_string(void);
 
-- 
GitLab