Moving / renaming a folder in app veyor after build script

Chris Hawley's Avatar

Chris Hawley

28 Jun, 2019 10:16 AM

In our appveyor after build script for an Ubuntu image using sh we have a requirement to rename some folders. I have tried the following, but currently the build event log does not appear to run the command so I'm guessing my syntax is wrong. If anyone can give me any pointers that would be greatly appreciated.

dotnet publish ./some-project.sln -c Release -o ./obj/Docker/publish
mv ./obj/Docker/publish/en-gb ./obj/Docker/publish/en-GB
docker build -t someproject:latest -t someproject:$APPVEYOR_BUILD_VERSION .

  1. Support Staff 1 Posted by Owen McDonnell on 28 Jun, 2019 05:09 PM

    Owen McDonnell's Avatar

    I'm no bash expert, but it looks ok to me. What if you add -v to get some more info?
    Also, maybe try absolute paths with $APPVEYOR_BUILD_FOLDER.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac