{"id":127,"date":"2007-01-29T05:54:12","date_gmt":"2007-01-29T13:54:12","guid":{"rendered":"http:\/\/www.ericfeminella.com\/blog\/2007\/01\/29\/release-version-api\/"},"modified":"2012-03-04T23:31:22","modified_gmt":"2012-03-05T04:31:22","slug":"release-version-api","status":"publish","type":"post","link":"https:\/\/www.ericfeminella.com\/blog\/2007\/01\/29\/release-version-api\/","title":{"rendered":"Release version API"},"content":{"rendered":"<p>I have published a software release version API which allows developers to set valid software release versions for a Flex 2 application. Release versions can be utilized for specifying additional meta data within a Flex application.<\/p>\n<p>The release version API contains a main entry point, ReleaseManager; a Singleton containing a reference to the ResourceBundle instance which comprises each valid release code.<\/p>\n<p>A release is set by specifying a valid release code which is defined as a constant in the ReleaseCodes class as follows:<\/p>\n<pre lang=\"actionscript\"> \r\n\r\npublic static const PRE_ALPHA:String = \"SR00PA\";\r\npublic static const ALPHA_VERSION:String = \"SR00AV\";\r\npublic static const BETA_RELEASE:String = \"SR00BR\";\r\npublic static const RELEASE_CANDIDATE:String = \"SR00RC\";\r\npublic static const GENERAL_AVAILABLITY:String = \"SRC00GA\";\r\npublic static const UNSTABLE:String = \"SR00UR\";\r\npublic static const STABLE:String = \"SR00SR\"\r\n<\/pre>\n<p>Each release code is mapped to a corresponding value in release.properties as follows:<\/p>\n<ul>\n<li>SR00PA=Pre-Alpha: {0}.{1}.{2}<\/li>\n<li>SR00AV=Alpha Version: {0}.{1}.{2}<\/li>\n<li>SR00BR=Beta Release: {0}.{1}.{2}<\/li>\n<li>SR00RC=Release Candidate: {0}.{1}.{2}<\/li>\n<li>SR00GA=General Availability Release: {0}.{1}.{2}<\/li>\n<li>SR00UR=Unstable Release: {0}.{1}.{2}<\/li>\n<li>SR00SR=Stable Release: {0}.{1}.{2}<\/li>\n<\/ul>\n<p>The tokens in each release code are substituted by the developer according to a projects current release version; major, minor, revision\/build.<\/p>\n<p>You can download <a target=\"_blank\" href=\"http:\/\/code.ericfeminella.com\/apis\/version-release-api.zip\">source<\/a> as well as view the <a target=\"_blank\" href=\"http:\/\/code.ericfeminella.com\/asdocs\/release-version-api\/class-summary.html\">ASDocs<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have published a software release version API which allows developers to set valid software release versions for a Flex 2 application. Release versions can be utilized for specifying additional meta data within a Flex application. The release version API contains a main entry point, ReleaseManager; a Singleton containing a reference to the ResourceBundle instance which comprises each valid release&#8230; <a class=\"read-more\" href=\"https:\/\/www.ericfeminella.com\/blog\/2007\/01\/29\/release-version-api\/\">Continue Reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[9],"tags":[],"class_list":["post-127","post","type-post","status-publish","format-standard","hentry","category-news"],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/posts\/127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/comments?post=127"}],"version-history":[{"count":0,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/posts\/127\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/media?parent=127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/categories?post=127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/tags?post=127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}