Comments (9)
It doesn't look like this action does anything to help here, but I was thinking maybe it should?
That's true, I didn't pay attention to multi-line release notes. For sure it's good idea, I will check the possibilities. Thanks for rising* this issue!
from appcenter-github-action.
Here is how i do it :
releaseNotes: |+
Initiated by **${{github.actor}}** --- **Github Actions**
- ${{github.workflow}}
- ${{github.ref}}
- Build (${{github.run_number}})
The magic is starting with |+
. Then each line in yaml file will be shown in new line in AppCenter.
from appcenter-github-action.
Hi! Do you have any updates on this? :)
from appcenter-github-action.
hi @VladSumtsov 👋 no, sorry I didn't prioritize it - I don't have any updates on this. I'll happily welcome any PR but for now, I don't have enough time to do this myself.
from appcenter-github-action.
@sgurdag that's an interesting bit of info - does it work if you push through a multi-line string as per this issue?
from appcenter-github-action.
@sgurdag that's an interesting bit of info - does it work if you push through a multi-line string as per this issue?
Hey @tonyarnold, Yes,It does. You can see my release note on appcenter here:
It is the way of having multi-lines in YAML as it is explicitly mentioned in syntax doc here : https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html
from appcenter-github-action.
I'm dubious about whether this will work with a multi-line replacement like ${{github.event.release.body}}
— I'll have to give it a try for my next beta release.
from appcenter-github-action.
@tonyarnold I tested this with a multi-line replacement. See this snippet:
releaseNotes: |
${{ steps.extract-release-notes.outputs.release_notes }}
Unfortunately, it didn't work.
Another good and clean solution to support multi-line release notes would be to provide the release notes in a file and to support the CLI parameter release-notes-file
from appcenter-github-action.
Update: The approach can work. It failed in my test because the release notes started with -
.
However, if they don't start with a minus it does work.
I worked around the limitation by adding a title in the YAML-config:
releaseNotes: |+
Release notes:
${{ steps.extract-release-notes.outputs.release_notes }}
from appcenter-github-action.
Related Issues (20)
- appcenter-cli v2.6.0 causes internal server error on upload artefact HOT 8
- Release ID not correctly determined HOT 1
- Container action is only supported on Linux HOT 1
- Action not failing on errors HOT 2
- Response status code: 404 HOT 8
- AppCenter deployment failed today HOT 2
- Please use the latest version of the App Center CLI HOT 1
- Feature Request: Support Mac OS runner HOT 3
- Question: distribute to stores HOT 1
- Unable to find apk HOT 2
- Error: Could not add group ... to release ...
- Requires Login? Nothing in Script shows how to do this. HOT 3
- "Error: Files of type '.aab' can not be distributed to groups" HOT 3
- Get a release id/response as a output HOT 3
- When Trying to upload an APK, *.apk doesn't work, It throws file not found error HOT 3
- Command distribute...is invalid HOT 4
- Cant upload apk to app center HOT 1
- Error: Command distribute release is invalid HOT 3
- Desktop Application HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appcenter-github-action.