releaser | new version of Python software | Build Tool library
kandi X-RAY | releaser Summary
kandi X-RAY | releaser Summary
Automates the process of releasing a new version of Python software
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Roll back the git repository
- Execute a command
- Executes the given command
- Raise StopRelease
- Set success flag
- Release all steps
- Rebuild the previous steps
- Set the version number
- Raise an error if the value is a valid version number
- Roll back the current git tag
- Roll back the previous commit
releaser Key Features
releaser Examples and Code Snippets
Community Discussions
Trending Discussions on releaser
QUESTION
I've been trying to create an apk of my app, using flutter build apk --release
in cmd, but I get this error every time I run this command:
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':unique_identifier:verifyReleaseResources'. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade 1 exception was raised by workers: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed C:\Users\.gradle\caches\transforms-2\files-2.1\71871fd20009e8811e4cb86c0e32da7a\core-1.1.0\res\values\values.xml:142:5-173:25: AAPT: error: resource android:attr/fontVariationSettings not found. C:\Users\.gradle\caches\transforms-2\files-2.1\71871fd20009e8811e4cb86c0e32da7a\core-1.1.0\res\values\values.xml:142:5-173:25: AAPT: error: resource android:attr/ttcIndex not found.
BUILD FAILED in 4m 26s Running Gradle task 'assembleRelease'... Running Gradle task 'assembleRelease'... Done 267,5s The build failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetifier to solve the incompatibility. Building plugin device_info... The plugin device_info could not be built due to the issue above. Running Gradle task 'assembleAarRelease'... /
Flutter doctor:
...ANSWER
Answered 2021-Jun-10 at 05:03add this line in your Project folder > android > app > build.gradle,
multiDexEnabled true
inside defaultConfig.
upgrade gradle dependency in the android/build.gradle file: classpath 'com.android.tools.build:gradle:3.3.1' (previously on version 3.2.1)
Run flutter clean and rebuild your project
and also plz refer this https://flutter.dev/docs/development/androidx-migration
QUESTION
I have a Kotlin Multiplatform Mobile library that I published to Maven Central. I am also trying to use this library in a non-KMM Android app. When I declare the dependency in the android app I get this error
...ANSWER
Answered 2021-May-17 at 09:16If I understand the error correctly, your project requests for the debug
version of the artifact, while in the build script I see publishLibraryVariants("release")
. Try changing the script to follow the code snippet from the documentation.
QUESTION
Anyone able to get Go Release Binary GitHub Action working? which is supposed to
Automate publishing Go build artifacts for GitHub releases through GitHub Actions
The readme looks rather simple, but I've tried all my imaginations to get it working but not avail. Similar questions has been asked in its issue tracks but got no answer.
Somebody help please.
BTW, while searching for the answer, I came upon this commit logs, which is quite interesting/amusing to read. I.e., it seems to be quite a battle to get it working, but the author gave up eventually (no any releases from his/her latest commits/tags)
Conclusion:
Turns out that my project does not have go mod
and there were issues in Go Release which stops it from working. It was then fixed by this and this.
ANSWER
Answered 2021-Apr-05 at 21:15I actually wrote my own release workflow for generating Go binaries.
The only non-obvious steps from my point of view are:
- I have a release note generation step where I include a list of non-merge commits since the last release tag.
- I use a matrix build for GOOS and GOARCH pairs and do some Bash string manipulation in the "Get OS and arch info" step.
The nice thing about softprops/action-gh-release
is that you can keep adding artifacts to the same release as long as the workflow run is triggered by a push to the same tag.
QUESTION
I'm trying to generate a signature apk to publish my app to the play store, but this error appears every time
Task :app:processReleaseResources FAILED AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{}],"original":"ERROR:: AAPT: /Users/luisabsg/Desktop/ebookandroid-18_1/codecanyon-24119642-ebook-android-app-online-freepaid-book-paypal-admin-panel/MainFiles/AppCode/E-Books App/E-Books App/app/build/intermediates/res/merged/release/.anim_abc_popup_enter.xml 2.flat.icloud: error: failed to read file: magic value is 0x696c7062 but AAPT expects 0x54504141.\nerror: failed parsing overlays.\n\n ","tool":"AAPT"} ERROR:: AAPT: /Users/luisabsg/Desktop/ebookandroid-18_1/codecanyon-24119642-ebook-android-app-online-freepaid-book-paypal-admin-panel/MainFiles/AppCode/E-Books App/E-Books App/app/build/intermediates/res/merged/release/.anim_abc_popup_enter.xml 2.flat.icloud: error: failed to read file: magic value is 0x696c7062 but AAPT expects 0x54504141. error: failed parsing overlays.
Someone help me?
...ANSWER
Answered 2021-May-12 at 23:04You shouldn't have *.icloud
files in your project.
Disable any iCloud synchronisation for the project directory.
QUESTION
I recently upgraded my expo's SDK version from 35 to 41 and also upgraded expo-cli from 3.18.5 to 4.4.3.
However, when I try to build a standalone APK/AAB, I'm getting the following error:
× Build failed. Standalone build failed!
In order to understand what was exactly causing this issue, I examined the Gradle logs of build Gradle on expo, and here's what I was able to find.
ANSWER
Answered 2021-May-08 at 18:04There are two major reasons for this cause.
- Setting
enableDangerousExperimentalLeanBuils
totrue
. - Missing
expo-splash-screen
package.
The error is because it's(Gradle build) looking for expo-modules-splashscreen
package, which is supposedly moved out of expo's main module in SDK 41, hence needs to be separately installed.
In order to fix this, there are two workarounds:
- Remove
enableDangerousExperimentalLeanBuilds
property. (Not tested) - Install expo-splash-screen using
npm install expo-splash-screen
.(Tested and working)
QUESTION
Flutter app running in debug mode fine. Errors on releasing the app.
...ANSWER
Answered 2021-Apr-19 at 16:45Problem were with flutter_appavailability. Just removed and problem solved.
QUESTION
Suppose I have a Singleton that loads resources into memory when created, and performs operation on the data when callings its methods. Now suppose, that I want to have the ability to tell the Singleton to release those resources, as I don't expect to be using them in the near future, but also be able to load those resources back in, when the time comes. And I want it all to be thread safe.
What would be the best way to aproach this problem?
Would this example work?:
...ANSWER
Answered 2021-Mar-25 at 04:45I would suggest separating the resource handling from the actual usage. Assuming the resource requires disposal this could look something like:
QUESTION
Using @semantic-release
I'd like to consider refactor changes for both, triggering a new release and write down in the CHANGELOG.md file.
So far, I've included refactor commits at "@semantic-release/commit-analyzer"
so they are triggering a patch release:
ANSWER
Answered 2021-Feb-25 at 09:42If anyone finds this useful: we need to config "@semantic-release/release-notes-generator"
for considering other keywords besides feat and fix including these dicts:
QUESTION
So I have a android project with product flavor - flavor1/ flavor2
Now I need to add a dependent module to it with product flavors - flavor3/ flavor4.
This is how I am adding the dependency in build.gradle (app):
...ANSWER
Answered 2021-Feb-13 at 18:03Adding the library flavor I needed to be resolved in the main app as matchingFallback resolved the issue.
Main app build.gradle
QUESTION
I am running some test in a containerize environment in Azure and I want to publish those test results in Azure Devops related to its release.
The idea is that the testcases are running in a Release Pipeline, and the container it self when its finished it will publish the test and display them in the tests section of Azure Devops.
I have managed to do this with mounted volumes on the container and with the Publish test task in the pipeline. But the tests takes around 1h and during that time its taking one pipeline agent in Azure.
I have been looking into Azure Devops API and managed to create a new testrun and add test to it through the API. I have related the testrun to the release by its ID https://docs.microsoft.com/en-us/rest/api/azure/devops/test/runs/create?view=azure-devops-rest-5.0. And afterwards added the completed tests results into the test run. However is not displayed on the releases tests.
Any one faced this issue?
Updated end rest API.
Here I obtain the release ID (I expect I will be able to get this release ID during the release pipeline)
...ANSWER
Answered 2021-Jan-21 at 09:26The possible reason for this question is that your test run is not properly linked to the release.
In the Runs - Create Rest API, not only you need to specifie the Release id, but the release uri, release environment id and release enviornment uri must be specified as well.
Here is an example about creating a test run which is linked to a release:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install releaser
You can use releaser like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page